Skip to content
Open
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
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,22 @@ jobs:
- name: Tests
if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false
run: |
pytest -vv --cov --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
pytest -vv --cov --cov-report=xml --junitxml=junit.xml -o junit_family=legacy -n auto

- name: Upload coverage to Codecov
if: contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: coverage

- name: Upload test results to Codecov
if: ${{ !cancelled() }} && contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false
uses: codecov/test-results-action@v1
- name: Report Test Results
if: contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results


docs:
runs-on: ubuntu-latest
Expand Down
Loading