Skip to content

Commit

Permalink
ci(tests): disable coverage upload on pull request event
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen authored Jul 6, 2024
1 parent e99126b commit d6c93f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
run: |
go test -timeout 60s -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage reports to Codecov
if: github.event_name != 'pull_request'
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage reports to Codeclimate
if: github.event_name != 'pull_request'
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TEST_REPORTER_ID }}
with:
prefix: "github.com/ekristen/libnuke"
coverageLocations: coverage.txt:gocov
coverageLocations: coverage.txt:gocov

0 comments on commit d6c93f3

Please sign in to comment.