mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
chore(ci): add coverage upload
This commit is contained in:
parent
5532c4e905
commit
3369d2427c
2 changed files with 9 additions and 1 deletions
6
.github/workflows/pull-request.yml
vendored
6
.github/workflows/pull-request.yml
vendored
|
@ -47,7 +47,11 @@ jobs:
|
|||
go-version: 1.15.x
|
||||
- name: Run tests
|
||||
run: |
|
||||
go test ./... -coverprofile coverage.out
|
||||
CGO_ENABLED=0 go test -v -coverprofile=coverage.out -covermode=atomic ./...
|
||||
- name: Publish coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue