We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8654f81 commit 62f9d79Copy full SHA for 62f9d79
.github/workflows/test.yml
@@ -44,13 +44,14 @@ jobs:
44
git diff --exit-code go.mod go.sum
45
go mod verify
46
47
- - name: Test
+ - name: Run tests with coverage report
48
run: |
49
- export PATH=$(go env GOPATH)/bin:${PATH}
50
- go install -v github.com/ory/go-acc@latest
51
- go-acc --covermode=atomic -o=coverage.txt ./... -- -timeout=30m
52
- shell: bash
+ go test ./... -v -timeout=1h -coverprofile=coverage.out -covermode=atomic
53
54
- - name: Upload codecov
55
- run: bash <(curl -s https://codecov.io/bash)
56
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v5
+ env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN_2025 }}
+ with:
+ verbose: true
57
+ fail_ci_if_error: true
0 commit comments