Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merged staging into main #193

Merged
merged 12 commits into from
Jun 10, 2024
Merged
3 changes: 3 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DB_HOST=localhost
DB_DATABASE_NAME=sos_rs_test
DATABASE_URL="postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_DATABASE_NAME}?schema=public"
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,24 @@ on:
branches:
- main
- develop
- staging

jobs:
build:
runs-on: ubuntu-latest
services:
db:
image: postgres:16.3
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
# Check out the source
Expand All @@ -36,6 +50,7 @@ jobs:
# Build App
- name: Build App
run: npm run build

- name: Test
run: npm test
- name: Test e2e
run: npm run test:e2e
670 changes: 669 additions & 1 deletion docs/sos-rs.insomnia.json

Large diffs are not rendered by default.

Loading