mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
test: wait for 'check' before running the postgres test and set the DATABASE_URL
This commit is contained in:
parent
65c7216812
commit
cc74a18861
1 changed files with 3 additions and 0 deletions
3
.github/workflows/sqlx.yml
vendored
3
.github/workflows/sqlx.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue