mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 15:55:45 +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
3
.github/workflows/sqlx.yml
vendored
3
.github/workflows/sqlx.yml
vendored
@ -119,6 +119,7 @@ jobs:
|
|||||||
postgres_12:
|
postgres_12:
|
||||||
name: Postgres 12
|
name: Postgres 12
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
needs: check
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
@ -142,3 +143,5 @@ jobs:
|
|||||||
command: test
|
command: test
|
||||||
args: >
|
args: >
|
||||||
--features postgres,all-types
|
--features postgres,all-types
|
||||||
|
env:
|
||||||
|
DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user