Skip to content

Commit

Permalink
Add coverage report
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Piotrowski <[email protected]>
  • Loading branch information
piotrpio committed Apr 29, 2024
1 parent 4c9d085 commit 9c158d2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ jobs:
- name: Test and coverage
run: |
go test -modfile=go_test.mod -v -run=TestNoRace -p=1 ./... --failfast -vet=off
if [ "${{ matrix.go }}" = "1.21" ]; then
if [ "${{ matrix.go }}" = "1.22" ]; then
./scripts/cov.sh CI
elif [ "${{ matrix.go }}" = "1.22" ]; then
elif [ "${{ matrix.go }}" = "1.21" ]; then
go test -modfile=go_test.mod -race -v -p=1 ./... --failfast -vet=off -tags=internal_testing
fi
fi
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
file: acc.out

0 comments on commit 9c158d2

Please sign in to comment.