From 9e2cad565a7ffdecd9b67502ee96f30e6d1f06fd Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Thu, 8 Sep 2022 15:33:39 +0200 Subject: [PATCH] Update codecov.yml --- .github/workflows/codecov.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index bbf8ebe..e31debb 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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'