We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c821b29 commit 561f351Copy full SHA for 561f351
1 file changed
.github/workflows/go-tests.yml
@@ -95,11 +95,17 @@ jobs:
95
POSTGRES_DB: garm
96
ports:
97
- 5432:5432
98
+ # Back the data directory with tmpfs (RAM). The test suite creates a
99
+ # fresh schema and runs the full migration for every test case, so the
100
+ # default disk-backed, fsync-on container makes the run slow enough to
101
+ # hit the test timeout. This database is ephemeral, so trading
102
+ # durability for speed is safe.
103
options: >-
104
--health-cmd pg_isready
105
--health-interval 10s
106
--health-timeout 5s
107
--health-retries 5
108
+ --tmpfs /var/lib/postgresql/data
109
110
steps:
111
- name: Install dependencies
0 commit comments