Bugfix: amendment to e4d6c3cad282fc6aa46aa10c332a0fd82fb7ecf0 #767
Workflow file for this run
This file contains 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: Run Python unit and regression tests | |
"on": | |
push: | |
paths: | |
- '**.py' | |
- .github/workflows/test-python.yml | |
- Tests/requirements.txt | |
- Tests/test-requirements.txt | |
jobs: | |
run-pytest-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
cache-dependency-path: | | |
Tests/requirements.txt | |
Tests/test-requirements.txt | |
- run: pip3 install --upgrade pip setuptools | |
- run: pip3 install -r requirements.txt -r test-requirements.txt | |
working-directory: ./Tests | |
- run: pytest --cov | |
working-directory: ./Tests |