Skip to content

Commit

Permalink
only upload for main
Browse files Browse the repository at this point in the history
  • Loading branch information
cglewis committed Jun 4, 2024
1 parent 184bcf7 commit 2d66f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
cd lib/poseidon_core && poetry run pip install 'setuptools==64.0.3' && poetry run pytest --cov-report term-missing --cov=. --cov-report=xml && cd ../../
- name: Upload coverage
uses: codecov/codecov-action@v4
if: github.repository == 'faucetsdn/poseidon' && github.event_name == 'push'
if: github.repository == 'faucetsdn/poseidon' && github.ref_name == 'main'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/poseidon/poseidon/lib/poseidon_api/coverage.xml,/home/runner/work/poseidon/poseidon/lib/poseidon_cli/coverage.xml,/home/runner/work/poseidon/poseidon/lib/poseidon_core/coverage.xml
Expand Down

0 comments on commit 2d66f1c

Please sign in to comment.