From 7bcfd8878e2e793975775499513745da91e242c3 Mon Sep 17 00:00:00 2001 From: BiancaIalangi Date: Wed, 11 Dec 2024 14:14:16 +0200 Subject: [PATCH 1/2] fix - ignore when there is no feature flag for interactors --- framework/meta/Cargo.toml | 1 + framework/meta/src/cmd/test.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/meta/Cargo.toml b/framework/meta/Cargo.toml index 8708e37ece..70b59b3d68 100644 --- a/framework/meta/Cargo.toml +++ b/framework/meta/Cargo.toml @@ -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"] } diff --git a/framework/meta/src/cmd/test.rs b/framework/meta/src/cmd/test.rs index 18e5657a97..25adffb187 100644 --- a/framework/meta/src/cmd/test.rs +++ b/framework/meta/src/cmd/test.rs @@ -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"]); } From ca051fc3d0c03ec1ce5624cf81bdada57b5fc3e2 Mon Sep 17 00:00:00 2001 From: BiancaIalangi Date: Wed, 11 Dec 2024 21:15:23 +0200 Subject: [PATCH 2/2] yml - update actions --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index dafdd63150..a5c3eb476f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -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