We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a50726 commit 82308edCopy full SHA for 82308ed
.github/workflows/test.yml
@@ -32,7 +32,10 @@ jobs:
32
run: |
33
echo "coverage_txt=${RUNNER_TEMP}/coverage.txt" >> "$GITHUB_OUTPUT"
34
- name: Test Coverage (pkg)
35
- run: go test ./... -race -coverprofile=${{ steps.vars.outputs.coverage_txt }}
+ run: |
36
+ go test ./... -race -coverprofile=${{ steps.vars.outputs.coverage_txt }}.tmp
37
+ cat ${{ steps.vars.outputs.coverage_txt }}.tmp | grep -v synchro/tz | grep -v synchro/scripts > ${{ steps.vars.outputs.coverage_txt }}
38
+ go tool cover -func ${{ steps.vars.outputs.coverage_txt }}
39
- name: Upload coverage
40
if: ${{ matrix.go == '^1.23' }}
41
uses: codecov/codecov-action@v5
0 commit comments