Merge pull request #374 from konflux-ci/konflux/references/main #297
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: Codecov report on push to the "main" branch | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
coverage: | |
name: Envtest and coverage report | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: './go.mod' | |
- name: Run tests | |
run: make test | |
- name: Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |