Skip to content

Commit 6a2d89f

Browse files
committed
Fix Windows test command
1 parent 22332f4 commit 6a2d89f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,14 @@ jobs:
2828
- name: Download dependencies
2929
run: go mod download
3030

31-
- name: Run tests
31+
- name: Run tests (with coverage)
32+
if: matrix.os == 'ubuntu-latest'
3233
run: go test -v -race -coverprofile=coverage.out ./...
3334

35+
- name: Run tests
36+
if: matrix.os != 'ubuntu-latest'
37+
run: go test -v -race ./...
38+
3439
- name: Upload coverage
3540
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.23'
3641
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)