Skip to content

Commit 7332ef3

Browse files
committed
fix: use -mod=mod in CI tests to avoid vendor directory conflicts
- Force Go to use module mode instead of vendor mode for test execution - This prevents Windows CI failures where coverage output conflicts with vendor directory - Allows proper coverage generation without import resolution issues
1 parent 03bf6f4 commit 7332ef3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
# Skip slow acceptance tests that require Terraform download
6363
mkdir -p coverage
64-
go test -short -race -coverprofile=coverage/coverage.out -covermode=atomic -timeout=60s ./...
64+
go test -mod=mod -short -race -coverprofile=coverage/coverage.out -covermode=atomic -timeout=60s ./...
6565
6666
- name: Upload coverage to Codecov
6767
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)