Skip to content

Commit

Permalink
chore: run coverage after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaschain committed Dec 3, 2023
1 parent 38b5cfb commit 05544dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 29 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@ jobs:
with:
go-version: '1.21'
- name: Go Test
run: make test
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
- name: Check Test Coverage
uses: vladopajic/go-test-coverage@v2
with:
profile: cover.out
local-prefix: github.com/lucaschain/beholder
threshold-total: 80

git-token: ${{ github.ref_name == 'main' && secrets.GH_TOKEN || '' }}
git-branch: badges

run-lint:
name: Run Lint
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/check_coverage.yml

This file was deleted.

0 comments on commit 05544dd

Please sign in to comment.