Skip to content

Commit 6a13326

Browse files
committed
Add new workflow to test docker access
1 parent 634d7f4 commit 6a13326

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/test.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Testing docker.flagsmith.com access
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
foo:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- run: echo "Hello world"
11+
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
services:
16+
flagsmith:
17+
image: docker.flagsmith.com/flagsmith/flagsmith
18+
ports:
19+
- 8000:8000
20+
env:
21+
DATABASE_URL: "postgresql://postgres:password@postgres:5432/postgres"
22+
postgres:
23+
image: postgres:14
24+
ports:
25+
- 5432:5432
26+
env:
27+
POSTGRES_USER: postgres
28+
POSTGRES_PASSWORD: password
29+
POSTGRES_DB: postgres
30+
31+
steps:
32+
- run: curl http://localhost:8000/version

0 commit comments

Comments
 (0)