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:
Kyle Carberry
2022-01-29 18:39:59 -06:00
committed by GitHub
parent 2b922b1be1
commit f9e594fbad
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -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: