Skip to content

Commit

Permalink
move coverage to build_and_test.yaml test job
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanhanjiahao committed Jun 2, 2022
1 parent 2ff2095 commit 3b01433
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: test
run: make test
run: go test ./... -race -coverprofile=coverage.xml -covermode=atomic
- name: Upload coverage to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov
30 changes: 0 additions & 30 deletions .github/workflows/ci_coverage.yml

This file was deleted.

0 comments on commit 3b01433

Please sign in to comment.