File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ go run ./cmd/sqlc-test-setup start
3636This will:
3737- Start PostgreSQL and configure password auth (` postgres ` /` postgres ` )
3838- Start MySQL via ` mysqld_safe ` and set root password (` mysecretpassword ` )
39+ - Handle pre-installed MySQL (e.g. on GitHub Actions runners) by resetting the root password via ` --skip-grant-tables `
3940- Verify both connections
4041- Skip steps that are already done (running services, existing config)
4142
@@ -148,6 +149,7 @@ make start # Start database containers
148149
149150- ** File:** ` .github/workflows/ci.yml `
150151- ** Go Version:** 1.25.0
152+ - ** Database Setup:** Uses ` sqlc-test-setup ` (not Docker) to install and start PostgreSQL and MySQL directly on the runner
151153- ** Test Command:** ` gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m ./... `
152154- ** Additional Checks:** ` govulncheck ` for vulnerability scanning
153155
You can’t perform that action at this time.
0 commit comments