Skip to content

Commit

Permalink
update github.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kannkyo committed Jan 25, 2025
1 parent 0bf41d6 commit b7ecc3d
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 @@ -63,7 +63,7 @@ jobs:
junit_files: report.xml

- name: Upload test results to codecov
if: ${{ !cancelled() }}
if: ${{ github.ref_name == 'main' && !cancelled() }}
uses: codecov/test-results-action@4e79e65778be1cecd5df25e14af1eafb6df80ea9
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -82,6 +82,7 @@ jobs:
path: htmlcov/

- name: Upload coverage to codecov
if: ${{ github.ref_name == 'main' && !cancelled() }}
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit b7ecc3d

Please sign in to comment.