Skip to content

Commit

Permalink
fix: report test coverage only from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jkawamoto committed Apr 12, 2024
1 parent d42628a commit 2e5515f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: coverage.xml:coverage.py
if: github.ref == 'refs/heads/main'
- name: Build and release
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit 2e5515f

Please sign in to comment.