Skip to content

Commit

Permalink
Merge pull request #28 from knbr13/remove-code-coverage
Browse files Browse the repository at this point in the history
remove code coverage service
  • Loading branch information
knbr13 authored Mar 21, 2024
2 parents c9d6532 + b846339 commit d0b7c56
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,5 @@ jobs:
- name: setup tests
run: ./setup-test.sh

- name: Run tests and generate coverage report
run: |
go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
name: codecov-umbrella
file: coverage.txt
fail_ci_if_error: true
slug: knbr13/gitcs
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Run tests
run: go test ./...

0 comments on commit d0b7c56

Please sign in to comment.