Skip to content

test: add a function to debug codecov #18

test: add a function to debug codecov

test: add a function to debug codecov #18

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "coverage" ]
pull_request:
branches: [ "coverage" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Test # only test a simple pkg.
run: go test -covermode=atomic -coverprofile=coverage.out -v ./br/pkg/config/...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: unit,integration
verbose: true