We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c4f9d8 commit 52e67b6Copy full SHA for 52e67b6
1 file changed
.github/workflows/test-build.yml .github/workflows/test-run.yml.github/workflows/test-build.yml renamed to .github/workflows/test-run.yml
@@ -3,12 +3,31 @@ name: Build & Test
3
on:
4
pull_request:
5
branches: [ '*' ]
6
+ push:
7
+ branches: [ '*' ]
8
workflow_call:
9
workflow_dispatch:
10
11
jobs:
- run:
12
+ test-run:
13
runs-on: ubuntu-latest
14
+ services:
15
+ postgres:
16
+ image: "postgres:13"
17
+ ports:
18
+ - "5432:5432"
19
+ env:
20
+ POSTGRES_USER: testuser
21
+ POSTGRES_PASSWORD: testpwd
22
+ POSTGRES_DB: coal
23
+ options: >-
24
+ --health-cmd pg_isready
25
+ --health-interval 10s
26
+ --health-timeout 5s
27
+ --health-retries 5
28
+
29
30
+ PRISMA_DB_URL: postgresql://testuser:testpwd@localhost:5432/coal
31
32
steps:
33
- name: Checkout repository
0 commit comments