Skip to content

Commit

Permalink
Merge pull request #655 from 0ex-d/fix/keystore-signer-tests
Browse files Browse the repository at this point in the history
Feature flag to exclude high compute `test_keystore_signer` tests
  • Loading branch information
thedevbirb authored Jan 10, 2025
2 parents cd90f0c + d88d6e7 commit 48c2053
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bolt_sidecar_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ jobs:
- name: Run bolt-sidecar tests
run: |
cd bolt-sidecar
cargo nextest run --workspace --retries 3
cargo nextest run --workspace --all-features --retries 3
env:
RPC_URL: ${{ secrets.RPC_URL }}
3 changes: 3 additions & 0 deletions bolt-sidecar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,6 @@ match_same_arms = "warn"
redundant_else = "warn"
unnecessary_self_imports = "warn"
use_self = "warn"

[features]
keystore-tests = []
1 change: 1 addition & 0 deletions bolt-sidecar/src/signer/keystore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ fn read_path(entry: std::result::Result<DirEntry, io::Error>) -> SignerResult<Pa
Ok(entry.map_err(KeystoreError::ReadFromDirectory)?.path())
}

#[cfg(feature = "keystore-tests")]
#[cfg(test)]
mod tests {
use std::{
Expand Down

0 comments on commit 48c2053

Please sign in to comment.