Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: set codecov token #184

Merged
merged 2 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
with:
directory: ${{ env.DESTDIR }}/coverage
flags: unit,${{ matrix.mode }},go-${{ matrix.go }}
token: ${{ secrets.CODECOV_TOKEN }}

test-os:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -121,6 +122,7 @@ jobs:
file: ./coverage.txt
env_vars: RUNNER_OS
flags: unit,go-${{ matrix.go }}
token: ${{ secrets.CODECOV_TOKEN }}

test-freebsd-amd64:
runs-on: macos-13
Expand Down Expand Up @@ -174,3 +176,4 @@ jobs:
with:
file: ./coverage.txt
flags: unit,freebsd
token: ${{ secrets.CODECOV_TOKEN }}
12 changes: 12 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
comment: false

coverage:
status:
project: # settings affecting project coverage
default:
target: auto # auto % coverage target
threshold: 1% # allow for 1% reduction of coverage without failing
patch: off

github_checks:
annotations: false
Loading