Skip to content

Commit

Permalink
Fix server e2e tests on CI #2
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet committed Jul 27, 2023
1 parent 61205c2 commit dc731a8
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
- main
pull_request_target:
jobs:
postgres-job:
server-test:
needs: postgres-job
runs-on: ubuntu-latest
container: node:10.18-jessie
steps:
- run: echo "Postgres job finished"
env:
PG_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/test?connection_limit=1
services:
postgres:
image: postgres
Expand All @@ -23,11 +23,6 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
server-test:
needs: postgres-job
runs-on: ubuntu-latest
env:
PG_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/test?connection_limit=1
steps:
- uses: actions/checkout@v3
if: github.event_name == 'push'
Expand Down

0 comments on commit dc731a8

Please sign in to comment.