feat: add WithInfoFunc configuration option #371
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ main, development ] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up most recent version of Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.18 | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: Generate coverage report | |
run: go test `go list ./... | grep -v examples` -coverprofile=coverage.txt -covermode=atomic | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v1.0.2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.txt | |
flags: unittests | |
name: codecov-umbrella |