Skip to content

Commit

Permalink
Merge pull request #1897 from multiversx/fix-interactor-test-command
Browse files Browse the repository at this point in the history
Fix - ignore when there is no feature flag for interactors
  • Loading branch information
BiancaIalangi authored Dec 13, 2024
2 parents dc2fc37 + ca051fc commit 42df100
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
contracts:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v4.1.1
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@72dc7659e6945c8749d01ec28638843bae33437e
with:
rust-toolchain: 1.82
path-to-sc-meta: framework/meta
Expand Down
1 change: 1 addition & 0 deletions framework/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ path = "src/main.rs"
[features]
template-test-current = []
template-test-released = []
chain-simulator-tests = []

[dependencies]
clap = { version = "4.4.7", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion framework/meta/src/cmd/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn test(test_args: &TestArgs) {
args.extend(["--features", "multiversx-sc-scenario/run-go-tests"]);
}

if chain_simulator {
if chain_simulator && cfg!(feature = "chain-simulator-tests") {
args.extend(["--features", "chain-simulator-tests"]);
}

Expand Down

0 comments on commit 42df100

Please sign in to comment.