We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22332f4 commit 6a2d89fCopy full SHA for 6a2d89f
.github/workflows/ci.yml
@@ -28,9 +28,14 @@ jobs:
28
- name: Download dependencies
29
run: go mod download
30
31
- - name: Run tests
+ - name: Run tests (with coverage)
32
+ if: matrix.os == 'ubuntu-latest'
33
run: go test -v -race -coverprofile=coverage.out ./...
34
35
+ - name: Run tests
36
+ if: matrix.os != 'ubuntu-latest'
37
+ run: go test -v -race ./...
38
+
39
- name: Upload coverage
40
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.23'
41
uses: codecov/codecov-action@v4
0 commit comments