Skip to content

Commit 98f0aff

Browse files
committed
Add -failfast to CI test command
Stops on the first test failure instead of running the full suite, making it faster to identify issues. https://claude.ai/code/session_01CsyRwSkRxBcQoaQFVkMQsJ
1 parent eb9144a commit 98f0aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
run: go run ./cmd/sqlc-test-setup start
5858

5959
- name: test ./...
60-
run: gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m ./...
60+
run: gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m -failfast ./...
6161
env:
6262
CI_SQLC_PROJECT_ID: ${{ secrets.CI_SQLC_PROJECT_ID }}
6363
CI_SQLC_AUTH_TOKEN: ${{ secrets.CI_SQLC_AUTH_TOKEN }}

0 commit comments

Comments
 (0)