Skip to content

Commit

Permalink
codeco actions conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Sep 25, 2024
1 parent ea8e5aa commit 66cd506
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,14 @@ jobs:
pytest --cov --junitxml=junit.xml -o junit_family=legacy

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

- name: Upload coverage results to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 66cd506

Please sign in to comment.