Update codecov.yml

This commit is contained in:
Winni Neessen 2022-03-16 21:08:34 +01:00 committed by GitHub
parent 04343f4417
commit dc37b3d285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,10 @@ on:
- 'go.*' - 'go.*'
- '.github/**' - '.github/**'
- 'codecov.yml' - 'codecov.yml'
env:
TEST_HOST: ${{ secrets.TEST_HOST }}
TEST_SMTPAUTH_USER: ${{ secrets.TEST_USER }}
TEST_SMTPAUTH_PASS: ${{ secrets.TEST_PASS }}
jobs: jobs:
run: run:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -29,7 +33,7 @@ jobs:
- name: Run Tests - name: Run Tests
run: | run: |
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./... go test -v -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
if: success() && matrix.go == 1.18 && matrix.os == 'ubuntu-latest' if: success() && matrix.go == 1.18 && matrix.os == 'ubuntu-latest'