mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-11 03:13:46 +00:00
test: provision MongoDB 8 with Testcontainers
This commit is contained in:
1 parent
f0d361eab5
commit
3316eec74c
11 files changed
+420
-40
No files matched your search
@@ -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