From d06a1a095074dc906d079b8cc8846de99078aea4 Mon Sep 17 00:00:00 2001 From: Omar Date: Fri, 8 Mar 2024 10:57:21 +0300 Subject: [PATCH] [Tests]: Do not run stateful tests in CI since there is no DB. --- .github/workflows/test.yml | 2 +- testing/stateful-tests/src/lib.rs | 2 +- .../src/configuration_selector/mainnet_production.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab59ecb0..e61e88e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.3 - name: Run tests - run: cargo test --features package-loader/build-time-blueprints + run: cargo test --workspace --features package-loader/build-time-blueprints --exclude stateful-tests env: # Enable sccache SCCACHE_GHA_ENABLED: "true" diff --git a/testing/stateful-tests/src/lib.rs b/testing/stateful-tests/src/lib.rs index 9995dcb6..7fe45542 100644 --- a/testing/stateful-tests/src/lib.rs +++ b/testing/stateful-tests/src/lib.rs @@ -224,7 +224,7 @@ where /// that takes arguments. The arguments given is the mainnet state after the /// publishing of Ignition to the network. The following is an example: /// -/// ```no_run +/// ```norun /// use macro_rules_attribute::apply; /// /// #[apply(mainnet_test)] diff --git a/tools/publishing-tool/src/configuration_selector/mainnet_production.rs b/tools/publishing-tool/src/configuration_selector/mainnet_production.rs index 1c94ddfb..44ad446c 100644 --- a/tools/publishing-tool/src/configuration_selector/mainnet_production.rs +++ b/tools/publishing-tool/src/configuration_selector/mainnet_production.rs @@ -312,7 +312,7 @@ pub fn mainnet_production( additional_information: AdditionalInformation { ociswap_v2_registry_component_and_dapp_definition: None, }, - additional_operation_flags: AdditionalOperationFlags::empty(), + additional_operation_flags: AdditionalOperationFlags::empty(), } // cSpell:enable }