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