-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a55fff7
commit 54ac336
Showing
1 changed file
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ on: | |
- synchronize | ||
- ready_for_review | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
lint-and-test: | ||
runs-on: ubuntu-latest | ||
|
@@ -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 | ||
|
||
|
@@ -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)' | ||
|