Skip to content

Commit

Permalink
Reorganize tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Nov 18, 2024
1 parent 8851cdb commit d0c5e78
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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



Expand Down

0 comments on commit d0c5e78

Please sign in to comment.