Skip to content

Commit

Permalink
chore(actions): enable code coverage reporting (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSussman authored Jul 29, 2024
1 parent a17a299 commit 2b91154
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: test

on:
pull_request:
push:

jobs:
test:
Expand All @@ -17,16 +18,16 @@ jobs:
cache: true
check-latest: true

# - name: install
# run: |
# go get github.com/mattn/goveralls
- name: install
run: |
go get github.com/mattn/goveralls
- name: test
run: |
go test -race -covermode=atomic -coverprofile=coverage.out ./...
# - name: coverage
# uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage.out
- name: coverage
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out

0 comments on commit 2b91154

Please sign in to comment.