From d0c5e78114af3a307d6a696b1b9d0a40e1fb38f7 Mon Sep 17 00:00:00 2001 From: tyranron Date: Mon, 18 Nov 2024 19:39:30 +0100 Subject: [PATCH] Reorganize tests --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd16cb2..53f7b34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,10 +72,6 @@ jobs: strategy: fail-fast: false matrix: - crate: - - tigerbeetle-unofficial-sys - - tigerbeetle-unofficial-core - - tigerbeetle-unofficial toolchain: ["stable", "beta", "nightly"] os: ["ubuntu", "macOS", "windows"] runs-on: ${{ matrix.os }}-latest @@ -86,12 +82,19 @@ jobs: - uses: dtolnay/rust-toolchain@v1 with: toolchain: ${{ matrix.toolchain }} + components: rust-src - run: cargo install cargo-careful if: ${{ matrix.toolchain == 'nightly' }} - run: cargo ${{ (matrix.toolchain == 'nightly' && '+nightly careful') || '' }} test - -p ${{ matrix.crate }} --all-features + -p tigerbeetle-unofficial-sys --all-features + + - run: cargo ${{ (matrix.toolchain == 'nightly' && '+nightly careful') || '' }} test + -p tigerbeetle-unofficial-core --all-features + + - run: cargo ${{ (matrix.toolchain == 'nightly' && '+nightly careful') || '' }} test + -p tigerbeetle-unofficial --all-features