Skip to content

Commit

Permalink
Add coverage report
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
  • Loading branch information
piotrpio committed Apr 30, 2024
1 parent 4c9d085 commit d338bd1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Expand Up @@ -53,8 +53,13 @@ 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
else
go test -modfile=go_test.mod -race -v -p=1 ./... --failfast -vet=off -tags=internal_testing
fi
fi
- name: Coveralls
if: matrix.go == '1.22'
uses: coverallsapp/github-action@v2
with:
file: acc.out

0 comments on commit d338bd1

Please sign in to comment.