Update codecov.yml

This commit is contained in:
Winni Neessen 2022-09-08 15:33:39 +02:00 committed by GitHub
parent 6556926573
commit 9e2cad565a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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