mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-09-04 04:18:08 +00:00
test: provision MongoDB 8 with Testcontainers
This commit is contained in:
@@ -47,8 +47,8 @@ jobs:
|
||||
go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
govulncheck ./...
|
||||
|
||||
# No DB emulator step: MongoDB integration tests skip gracefully when
|
||||
# MONGODB_TEST_URL is unset. See README.md for the local Docker command.
|
||||
# Testcontainers provisions MongoDB 8 through the runner's Docker daemon;
|
||||
# MONGODB_TEST_URL is intentionally unset so CI exercises that path.
|
||||
- name: go test
|
||||
env:
|
||||
# Quiet test logs so real failures stand out.
|
||||
|
||||
Reference in New Issue
Block a user