Skip to content

Commit

Permalink
Update python-CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
enzofrnt committed Dec 6, 2024
1 parent e059a4c commit 1d67d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
run: exit 1

- name: Upload to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -58,7 +59,7 @@ jobs:
verbose: true

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
if: github.ref == 'refs/heads/main' && !cancelled()
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 1d67d09

Please sign in to comment.