mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 13:50:49 +01:00
Update codecov.yml
This commit is contained in:
parent
5443964d66
commit
c2ea1989a8
1 changed files with 14 additions and 2 deletions
16
.github/workflows/codecov.yml
vendored
16
.github/workflows/codecov.yml
vendored
|
@ -23,7 +23,19 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- name: Checkout Code
|
||||||
- uses: codecov/codecov-action@v2
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: go get -v golang.org/x/lint/golint
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: |
|
||||||
|
golint -set_exit_status ./...
|
||||||
|
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
|
||||||
|
|
||||||
|
- name: Upload coverage to Codecov
|
||||||
|
if: success() && matrix.go == 1.17 && matrix.os == 'ubuntu-latest'
|
||||||
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
||||||
|
|
Loading…
Reference in a new issue