-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (39 loc) · 1.14 KB
/
run-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Run Code
on: [push, repository_dispatch, workflow_dispatch]
jobs:
run-incomplete:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run Incomplete
run: >
docker run --network host
-v /var/run/docker.sock:/var/run/docker.sock
-v $(pwd):$(pwd)
-w $(pwd)
ghcr.io/zcaudate-xyz/infra-foundation-clean:main lein incomplete
run-tests:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run Tests
run: >
docker run --network host
-v /var/run/docker.sock:/var/run/docker.sock
-v $(pwd):$(pwd)
-w $(pwd)
ghcr.io/zcaudate-xyz/infra-foundation-clean:main lein test
services:
postgres:
image: postgres:13
env:
POSTGRES_DB: test
POSTGRES_PASSWORD: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: postgres
ports:
- 5432:5432