From 16f96e76585c7f2cdaa09e3911dab69a7416a1bf Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Sat, 11 Mar 2023 18:29:33 +0100 Subject: [PATCH] Fix CI for Postgres tests --- .github/workflows/rust.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f5d3031..77568f9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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