Merge pull request #302 from kubernetes-sigs/cleanup-ag #748
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 coverage | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19.3 | |
- name: Run go test with coverage | |
run: COVER_PROFILE=coverage.txt make test | |
- name: Codecov upload | |
uses: codecov/[email protected] | |
with: | |
files: ./cover.out |