Skip to content

Commit

Permalink
fix coverage collection
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Dec 13, 2023
1 parent 255b06c commit 9f1543f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
shell: bash # Also on Windows!!
run: |-
mkdir -p coverage
gotestsum -- -tags='${{ matrix.tags }}' \
-v -shuffle=on \
-coverprofile coverage/${{ matrix.runs-on }}-${{ matrix.cgo-enabled }}.gocov \
-covermode atomic \
gotestsum -- -tags='${{ matrix.tags }}' \
-v -shuffle=on \
-coverprofile=coverage/${{ matrix.runs-on }}-${{ matrix.cgo-enabled }}-${{ matrix.tags }}.gocov \
-covermode=atomic \
./...
- uses: actions/upload-artifact@v3
with:
name: coverprofiles
path: coverage/${{ matrix.runs-on }}-${{ matrix.cgo-enabled }}-${{ matrix.tags }}.gocov
path: coverage/*.gocov

report:
needs: test
Expand Down

0 comments on commit 9f1543f

Please sign in to comment.