Update codecov.yml

This commit is contained in:
Winni Neessen 2022-09-08 15:29:18 +02:00 committed by GitHub
parent 48a1acc782
commit d5ee314883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,14 +38,9 @@ jobs:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@master uses: actions/checkout@master
- name: Install sendmail
if: matrix.go == 1.19 && matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y sendmail
- name: Run Tests - name: Run Tests
run: | run: |
go test -v -race --coverprofile=coverage.coverprofile --covermode=atomic ./... sudo apt-get install -y sendmail && go test -v -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
if: success() && matrix.go == 1.19 && matrix.os == 'ubuntu-latest' if: success() && matrix.go == 1.19 && matrix.os == 'ubuntu-latest'