Update test.yaml

This commit is contained in:
Kjeld Schouten 2024-05-24 17:43:48 +02:00 committed by GitHub
parent 587d22a615
commit 191651a404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 18 deletions

View File

@ -19,33 +19,17 @@ jobs:
with:
token: ${{ secrets.BOT_TOKEN }}
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
name: Checkout-validate
with:
fetch-depth: 1
repository: truecharts/catalog_validation
token: ${{ secrets.BOT_TOKEN }}
path: .catalog_validation
- name: install catalog_validation
shell: bash
run: |
cd .catalog_validation
pip install -r requirements.txt
pip install -U --no-cache-dir .
cd -
- name: catalog tests
shell: bash
run: |
echo "Starting Catalog Validation"
python3 .catalog_validation/catalog_validation/scripts/catalog_validate.py validate --path "${PWD}" --ignore-catalog-json
python3 /catalog_validation/scripts/catalog_validate.py validate --path "${PWD}" --ignore-catalog-json
- name: catalog json generation
shell: bash
run: |
echo "Starting Catalog json Generation"
python3 .catalog_validation/catalog_validation/scripts/catalog_update.py update --path "${PWD}"
python3 /catalog_validation/scripts/catalog_update.py update --path "${PWD}"
- name: Merge staging into main
shell: bash