mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-10 00:03:24 +00:00
parallelize the CI
This commit is contained in:
parent
f1fa8d34bf
commit
71fe9559b1
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -21,6 +21,10 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
name: Run tests and generate coverage report
|
name: Run tests and generate coverage report
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false # don't interrupt the other test processes
|
||||||
|
matrix:
|
||||||
|
pytest-mark: [slow, not slow]
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -28,7 +32,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/setup_xapian
|
- uses: ./.github/actions/setup_xapian
|
||||||
- uses: ./.github/actions/compile_messages
|
- uses: ./.github/actions/compile_messages
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: poetry run coverage run -m pytest
|
run: poetry run coverage run -m pytest -m "${{ matrix.pytest-mark }}"
|
||||||
- name: Generate coverage report
|
- name: Generate coverage report
|
||||||
run: |
|
run: |
|
||||||
poetry run coverage report
|
poetry run coverage report
|
||||||
|
Loading…
Reference in New Issue
Block a user