Update codecov.yml

This commit is contained in:
Winni Neessen 2022-03-15 21:41:24 +01:00 committed by GitHub
parent c2ea1989a8
commit 46687c9d7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,14 +25,10 @@ jobs:
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@master uses: actions/checkout@master
- name: Install Dependencies
run: go get -v golang.org/x/lint/golint
- name: Run Tests - name: Run Tests
run: | run: |
golint -set_exit_status ./... go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
if: success() && matrix.go == 1.17 && matrix.os == 'ubuntu-latest' if: success() && matrix.go == 1.17 && matrix.os == 'ubuntu-latest'