Fix CI for Postgres tests
This commit is contained in:
parent
0fbc67052a
commit
16f96e7658
1 changed files with 7 additions and 7 deletions
14
.github/workflows/rust.yml
vendored
14
.github/workflows/rust.yml
vendored
|
@ -59,18 +59,18 @@ jobs:
|
|||
run: diesel setup
|
||||
|
||||
- name: Run tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --verbose
|
||||
|
||||
- name: Run Postgres dependent tests
|
||||
uses: actions-rs/cargo@v1
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres:password@localhost:5432
|
||||
with:
|
||||
command: test
|
||||
args: --verbose -- --test-threads 1
|
||||
|
||||
- name: Run dirty tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --verbose --all-features -- --ignored
|
||||
args: --verbose --all-features -- --ignored --test-threads 1
|
||||
|
||||
release:
|
||||
name: Release x86_64-unknown-linux-gnu
|
||||
|
|
Loading…
Reference in a new issue