From 996eb42620361bbf3c9ca02ae36454d681dd56e5 Mon Sep 17 00:00:00 2001 From: 170210 Date: Thu, 7 Mar 2024 18:18:16 +0900 Subject: [PATCH] ci: use cargo test --test integration instead of config Signed-off-by: 170210 --- .github/workflows/contract_tests.yml | 2 +- contracts/voting-with-uuid/.cargo/config | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/contract_tests.yml b/.github/workflows/contract_tests.yml index 2d726b338..7ba3078c2 100644 --- a/.github/workflows/contract_tests.yml +++ b/.github/workflows/contract_tests.yml @@ -54,7 +54,7 @@ jobs: # - name: Integration tests (singlepass backend) working-directory: ${{env.working-directory}} - run: cargo integration-test --locked --no-default-features + run: cargo test --test integration --locked --no-default-features - name: Documentation tests working-directory: ${{env.working-directory}} run: cargo test --doc --locked diff --git a/contracts/voting-with-uuid/.cargo/config b/contracts/voting-with-uuid/.cargo/config index 4e5f323c5..9a1df2e20 100644 --- a/contracts/voting-with-uuid/.cargo/config +++ b/contracts/voting-with-uuid/.cargo/config @@ -2,6 +2,6 @@ wasm = "build --release --target wasm32-unknown-unknown" wasm-debug = "build --target wasm32-unknown-unknown" unit-test = "test --lib" -integration-test-for-debug = "test --test integration -- --color always --nocapture" -integration-test = "test --test integration" +integration-test = "test --test integration -- --color always --nocapture" +integration-test-for-ci = "test --test integration" schema = "run --example schema"