Skip to content

Update command data for Kia/Sorento #285

Update command data for Kia/Sorento

Update command data for Kia/Sorento #285

Workflow file for this run

name: Response tests
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout main repository
uses: actions/checkout@v4
- name: Checkout schemas repo
uses: actions/checkout@v4
with:
repository: OBDb/.schemas
path: tests/schemas
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/schemas/requirements.txt
- name: Run tests
id: run_tests
run: |
pytest tests/ --ignore=tests/schemas -xvs -n auto
continue-on-error: true
- name: Print fix instructions
if: steps.run_tests.outcome == 'failure'
run: |
echo "::notice title=How to fix failed tests::To fix the failed tests, run: python3 tests/update_yaml_tests.py --verbose"
exit 1