From dc731a8284d5bf80d98c3693bf05e0f0140dc90d Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Thu, 27 Jul 2023 11:57:10 -0700 Subject: [PATCH] Fix server e2e tests on CI #2 --- .github/workflows/ci-server.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml index 11cded467154f..a7a73f6ed9bbe 100644 --- a/.github/workflows/ci-server.yaml +++ b/.github/workflows/ci-server.yaml @@ -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 @@ -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'