Update inspect_python_black.yml (#20) #32
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: Test | |
on: | |
push: | |
branches: [ 'master' ] | |
pull_request: | |
branches: [ 'master' ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
complete_regression: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
pip install -r worker/source/requirements.txt | |
- name: Run unit tests | |
if: always() | |
run: | | |
cd worker/source/ | |
pytest -vv --durations=0 -s -m unit | |
- name: Run integration tests | |
if: always() | |
run: | | |
cd worker/source/ | |
pytest -vv --durations=0 -s -m integration | |
- name: Run system tests | |
if: always() | |
run: | | |
cd worker/source/ | |
pytest -vv --durations=0 -s -m system |