Skip to content

Commit e28088c

Browse files
authored
merged staging into main (#193)
2 parents 4fb5583 + 05b61e5 commit e28088c

31 files changed

+2141
-202
lines changed

.env.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DB_HOST=localhost
2+
DB_DATABASE_NAME=sos_rs_test
3+
DATABASE_URL="postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_DATABASE_NAME}?schema=public"

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,24 @@ on:
1111
branches:
1212
- main
1313
- develop
14+
- staging
1415

1516
jobs:
1617
build:
1718
runs-on: ubuntu-latest
19+
services:
20+
db:
21+
image: postgres:16.3
22+
ports:
23+
- 5432:5432
24+
env:
25+
POSTGRES_PASSWORD: root
26+
POSTGRES_USER: root
27+
options: >-
28+
--health-cmd pg_isready
29+
--health-interval 10s
30+
--health-timeout 5s
31+
--health-retries 5
1832
1933
steps:
2034
# Check out the source
@@ -36,6 +50,7 @@ jobs:
3650
# Build App
3751
- name: Build App
3852
run: npm run build
39-
4053
- name: Test
4154
run: npm test
55+
- name: Test e2e
56+
run: npm run test:e2e

docs/sos-rs.insomnia.json

Lines changed: 669 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)