Skip to content

Commit

Permalink
add nextest to ci, reorg unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
katiemckeon committed Feb 27, 2025
1 parent a55fff7 commit 54ac336
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- synchronize
- ready_for_review

env:
CARGO_TERM_COLOR: always

jobs:
lint-and-test:
runs-on: ubuntu-latest
Expand All @@ -27,6 +30,11 @@ jobs:
- name: Cache Rust files
uses: Swatinem/rust-cache@v2

- name: Install cargo-nextest
- uses: taiki-e/install-action@v2
with:
tool: [email protected]

- name: Check formatting
run: cargo fmt --check

Expand All @@ -39,8 +47,12 @@ jobs:
- name: Build
run: cargo build --verbose

- name: Run sindri unit tests
run: cargo test --package sindri --lib --features sp1-v3 --verbose
- name: Run sindri core unit tests
run: cargo nextest run -E 'package(sindri) & kind(lib) - test(integrations)'

- name: Run sindri framework-specific tests
run: cargo nextest run -E 'package(sindri) & kind(lib) & test(integrations)'

- name: Run sindri-cli unit tests
run: cargo test --package sindri-cli --bin cargo-sindri --verbose
run: cargo nextest run -E 'package(sindri-cli) & kind(bin)'

0 comments on commit 54ac336

Please sign in to comment.