Fix CI for Postgres tests

This commit is contained in:
Rafael Caricio 2023-03-11 18:29:33 +01:00
parent 0fbc67052a
commit 16f96e7658
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947

View file

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