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 a922231 commit 9794974Copy full SHA for 9794974
.github/workflows/tox.yml
@@ -14,14 +14,19 @@ jobs:
14
services:
15
postgres:
16
image: postgres
17
+
18
env:
19
POSTGRES_PASSWORD: postgres
20
21
options: >-
22
--health-cmd pg_isready
23
--health-interval 10s
24
--health-timeout 5s
25
--health-retries 5
26
27
+ ports:
28
+ - 5432:5432
29
30
steps:
31
- uses: actions/checkout@v3
32
- uses: actions/setup-python@v4
docker-compose.yml
@@ -0,0 +1,19 @@
1
+# Docker compose file to help with testing.
2
+#
3
+# Run:
4
+# docker-compose up
5
+# tox
6
7
+# This setup is replicated in the Github Action
8
9
+version: "3.4"
10
11
+services:
12
+ database:
13
+ image: postgres
+ environment:
+ POSTGRES_PASSWORD: postgres
+ - "5432:5432"
0 commit comments