Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ rustflags = [
# Enable tx_v6 everywhere by default
"--cfg", 'feature="tx_v6"',

# TODO: Remove this when Cargo.toml is updated to use the latest librustzcash zsa1 version
"--cfg", "zcash_unstable=\"nu6.1\"",

# TODO: Consider removing this line later (it's needed for the ZSA version of librustzcash crates)
"--cfg", "zcash_unstable=\"nu7\"",

Expand Down Expand Up @@ -91,6 +94,9 @@ rustdocflags = [
# Enable tx_v6 everywhere by default
"--cfg", 'feature="tx_v6"',

# TODO: Remove this when Cargo.toml is updated to use the latest librustzcash zsa1 version
"--cfg", "zcash_unstable=\"nu6.1\"",

# TODO: Consider removing this line later (it's needed for the ZSA version of librustzcash crates)
"--cfg", "zcash_unstable=\"nu7\"",

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/ci-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ jobs:
- name: Install formatting & linting tools
run: rustup component add rustfmt clippy
- name: Run tests
run: cargo test --verbose
env:
RUST_BACKTRACE: 1
# Skip two tests that intermittently fail on CI (likely a race/ordering issue).
# FIXME: investigate and fix the underlying flake; remove these skips once resolved.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this still needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, as we haven't found another way to solve the race condition in the zebra-consensus test on our CI instance for now.

run: cargo test --locked --verbose -- --skip v4_with_sapling_spends --skip v5_with_sapling_spends
# Run the skipped tests separately with constrained parallelism
- name: Run Sapling spend tests
run: |
cargo test -p zebra-consensus v4_with_sapling_spends -- --nocapture
cargo test -p zebra-consensus v5_with_sapling_spends -- --nocapture
- name: Verify working directory is clean
run: git diff --exit-code
- name: Run doc check
Expand Down
Loading
Loading