Update command data for Kia/Sorento #331
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |