Skip to content

Commit

Permalink
Coverage report should diplay all subpackages of internal module (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
lika8701 authored Nov 25, 2023
1 parent 80f291a commit 6a864a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
go-version: ${{ matrix.go-version }}
cache: true
- name: Test
run: go test -race -vet=off -coverprofile unit.txt -covermode atomic ./...
run: go test -coverpkg=./internal/... -race -vet=off -count=1 -coverprofile unit.txt -covermode atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./unit.txt
flags: unit,${{ matrix.os }},go-${{ matrix.go-version }}
name: unit
name: unit

0 comments on commit 6a864a2

Please sign in to comment.