mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
ci: Run PostgreSQL with a scratch directory to improve CI durability (#89)
When using parallel before, multiple PostgreSQL containers would
unintentionally interfere with the other's data. This ensures
both containers have separated data, and don't create a volume.
🌮 @bryphe-coder for the idea!
This commit is contained in:
@@ -159,7 +159,7 @@ jobs:
|
||||
run:
|
||||
DB=true gotestsum --jsonfile="gotests.json" --packages="./..." --
|
||||
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
|
||||
-count=1 -race -parallel=1
|
||||
-count=1 -race -parallel=2
|
||||
|
||||
- uses: codecov/codecov-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user