Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Tests
on:
push:
branches:
- main
pull_request:
paths:
- 'src/**'
Expand Down Expand Up @@ -37,7 +40,8 @@ jobs:
- name: Run tests
run: |
marker="${{ matrix.php_api == true && 'php_api' || 'not php_api' }} and ${{ matrix.mutations == true && 'mut' || 'not mut' }}"
docker compose exec python-api coverage run -m pytest -n auto -v -m "$marker"
jobs="${{ matrix.mutations == true && '1' || 'auto' }}"
docker compose exec python-api coverage run -m pytest -n "$jobs" -v -m "$marker"
- name: Produce coverage report
run: docker compose exec python-api coverage xml
- name: Upload results to Codecov
Expand Down
Loading