We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f89f0b commit d6e2a7dCopy full SHA for d6e2a7d
1 file changed
.github/workflows/test.yml
@@ -24,11 +24,11 @@ jobs:
24
cache: true
25
26
- name: Run tests
27
- run: go test -v -race -coverprofile=coverage.out ./...
+ run: go test -v -race -coverprofile=coverage.txt ./...
28
29
- name: Check coverage
30
run: |
31
- coverage=$(go tool cover -func=coverage.out | grep total | awk '{print $3}' | sed 's/%//')
+ coverage=$(go tool cover -func=coverage.txt | grep total | awk '{print $3}' | sed 's/%//')
32
echo "Coverage: ${coverage}%"
33
if (( $(echo "$coverage < 75" | bc -l) )); then
34
echo "Coverage is below 75%"
@@ -39,6 +39,6 @@ jobs:
39
uses: codecov/codecov-action@v5
40
with:
41
token: ${{ secrets.CODECOV_TOKEN }}
42
- files: ./coverage.out
+ files: ./coverage.txt
43
flags: unittests
44
name: codecov-${{ matrix.go-version }}
0 commit comments