Skip to content

Commit

Permalink
test: add codecov reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Nov 18, 2024
1 parent 8428e4b commit 3943642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
run: go build -o bin/algorun *.go

- name: Test with the Go CLI
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
run: go test ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./...

- name: Check test coverage
uses: vladopajic/go-test-coverage@v2
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
config: ./.testcoverage.yaml
token: ${{ secrets.CODECOV_TOKEN }}
26 changes: 0 additions & 26 deletions .testcoverage.yaml

This file was deleted.

0 comments on commit 3943642

Please sign in to comment.