test: wait for 'check' before running the postgres test and set the DATABASE_URL

This commit is contained in:
Ryan Leckey 2020-06-07 03:53:19 -07:00
parent 65c7216812
commit cc74a18861

View file

@ -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