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 dd0995e commit 3c58c96Copy full SHA for 3c58c96
.github/workflows/ci.yml
@@ -82,15 +82,6 @@ jobs:
82
test:
83
name: Test
84
runs-on: ${{ matrix.os }}
85
- services:
86
- postgres:
87
- image: postgres:latest
88
- env:
89
- POSTGRES_USER: postgres
90
- POSTGRES_PASSWORD: postgres
91
- POSTGRES_DB: postgres
92
- ports:
93
- - 5432:5432
94
strategy:
95
matrix:
96
include:
@@ -107,6 +98,11 @@ jobs:
107
98
cache-base: main
108
99
env:
109
100
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101
+
102
+ # running containers via `services` only works on linux
103
+ # https://github.com/actions/runner/issues/1866
104
+ - name: Setup postgres
105
+ uses: ikalnytskyi/action-setup-postgres@v7
110
106
- name: Run tests
111
run: cargo test --workspace
112
0 commit comments