Merge remote-tracking branch 'origin/main'

This commit is contained in:
Winni Neessen 2022-03-16 21:32:57 +01:00
commit 8f2959b465
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

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'