We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd3b33 commit fde90bfCopy full SHA for fde90bf
1 file changed
.github/workflows/tests.yml
@@ -1,5 +1,8 @@
1
name: Tests
2
on:
3
+ push:
4
+ branches:
5
+ - main
6
pull_request:
7
paths:
8
- 'src/**'
@@ -37,7 +40,8 @@ jobs:
37
40
- name: Run tests
38
41
run: |
39
42
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"
43
+ jobs="${{ matrix.mutations == true && '1' || 'auto' }}"
44
+ docker compose exec python-api coverage run -m pytest -n "$jobs" -v -m "$marker"
45
- name: Produce coverage report
46
run: docker compose exec python-api coverage xml
47
- name: Upload results to Codecov
0 commit comments