Running tests with the same opt-level in CI, but preserving debug assertions (#1253)
This commit is contained in:
committed by
GitHub
parent
8fbf84174d
commit
943337db0d
+2
-1
@@ -10,7 +10,8 @@ overflow-checks = true
|
||||
panic = "abort"
|
||||
|
||||
[profile.test]
|
||||
opt-level = 2
|
||||
# equivalent of running in `--release` (but since we're in test profile we're keeping overflow checks and all of those by default)
|
||||
opt-level = 3
|
||||
|
||||
[workspace]
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ clippy-all-wallet:
|
||||
cargo clippy --workspace --manifest-path nym-wallet/Cargo.toml --all-features -- -D warnings
|
||||
|
||||
test-main:
|
||||
cargo test --all-features --workspace --release
|
||||
cargo test --all-features --workspace
|
||||
|
||||
test-contracts:
|
||||
cargo test --manifest-path contracts/Cargo.toml --all-features
|
||||
|
||||
Reference in New Issue
Block a user