Skip to content

Commit

Permalink
add badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadiii committed May 17, 2024
1 parent 45204f9 commit c607e26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:
run: go test -race `go list ./... | grep -v cmd/feature_experimentation/analyze | grep -v cmd/feature_experimentation/resource` -coverprofile cover.out.tmp
- name: Removes mocks from tests
run: cat cover.out.tmp | grep -v "mock_\|cmd/feature_experimentation/analyze" | grep -v "mock_\|cmd/feature_experimentation/resource" > cover.out
- uses: codecov/codecov-action@v2
with:
file: ./cover.out
- uses: vladopajic/go-test-coverage@v2
with:
profile: ./cover.out
local-prefix: github.com/flagship-io/abtasty-cli
threshold-total: 70
git-branch: badges
git-token: ${{ github.ref_name == 'main' && secrets.GITHUBTOKEN || '' }}

0 comments on commit c607e26

Please sign in to comment.