From cc74a18861cb1c0134a26b23d82ecaaaad187f9e Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sun, 7 Jun 2020 03:53:19 -0700 Subject: [PATCH] test: wait for 'check' before running the postgres test and set the DATABASE_URL --- .github/workflows/sqlx.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sqlx.yml b/.github/workflows/sqlx.yml index 2f0ceb31..093f52f6 100644 --- a/.github/workflows/sqlx.yml +++ b/.github/workflows/sqlx.yml @@ -119,6 +119,7 @@ jobs: postgres_12: name: Postgres 12 runs-on: ubuntu-20.04 + needs: check steps: - uses: actions/checkout@v2 @@ -142,3 +143,5 @@ jobs: command: test args: > --features postgres,all-types + env: + DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx