Skip to content

Commit b10db93

Browse files
remyleoneMonitob
andauthored
chore: add acceptance tests to code coverage (#1147)
Co-authored-by: jaime Bernabe <[email protected]>
1 parent d8bff37 commit b10db93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/coverage.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
with:
1414
go-version: '1.18'
1515
- name: Run coverage
16-
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
16+
run: go test -v -timeout=2h -coverprofile=coverage.out -covermode=count ./...
17+
env:
18+
TF_ACC: 1 # It runs the integration test through the cassettes and not with real API calls
19+
TF_TEST_DOMAIN: scaleway-terraform.com
20+
TF_UPDATE_CASSETTES: false
21+
TF_TEST_DOMAIN_ZONE: tf
1722
- name: Upload coverage to Codecov
1823
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)