Skip to content

Commit 381960a

Browse files
committed
Fix flags
1 parent c431565 commit 381960a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/acceptance-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ jobs:
110110
echo "Pattern: $SKIP_PATTERN"
111111
echo ""
112112
echo "Tests that will be skipped:"
113-
go tool gotestsum --format github-actions -list=. ./internal/services/${{ matrix.products }} | grep -E "$SKIP_PATTERN" || true
113+
go tool gotestsum --format github-actions -- -list=. ./internal/services/${{ matrix.products }} | grep -E "$SKIP_PATTERN" || true
114114
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
115115
echo ""
116116
117-
go tool gotestsum --format github-actions -v ./internal/services/${{ matrix.products }} -timeout=2h -skip="$SKIP_PATTERN"
117+
go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=2h -skip="$SKIP_PATTERN"
118118
TEST_RESULT=$?
119119
else
120-
go tool gotestsum --format github-actions -v ./internal/services/${{ matrix.products }} -timeout=2h
120+
go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=2h
121121
TEST_RESULT=$?
122122
fi
123123
@@ -155,7 +155,7 @@ jobs:
155155
- name: Install Terraform
156156
uses: hashicorp/setup-terraform@v3
157157
- name: Run scwconfig tests
158-
run: go tool gotestsum --format github-actions ./internal/services/scwconfig -timeout=2m
158+
run: go tool gotestsum --format github-actions -- ./internal/services/scwconfig -timeout=2m
159159
env:
160160
TF_LOG: DEBUG
161161
TF_ACC: 1

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
go-version: 1.24.0
6262
- name: Run Acceptance Tests
63-
run: go tool gotestsum --format github-actions -v ./internal/services/${{ matrix.products }} -timeout=4h
63+
run: go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=4h
6464
env:
6565
TF_LOG: DEBUG
6666
# https://www.terraform.io/docs/extend/testing/acceptance-tests/index.html#running-acceptance-tests

0 commit comments

Comments
 (0)