From acaabc219a34bc2b1f5d85757549be8fe3de7a20 Mon Sep 17 00:00:00 2001 From: limityan Date: Sun, 26 Jul 2026 16:27:41 +0800 Subject: [PATCH] ci: move Windows CLI terminal tests to nightly --- .github/workflows/ci.yml | 4 ---- .github/workflows/nightly.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b54527dfaa..656190d257 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,10 +146,6 @@ jobs: - name: Check compilation run: cargo check --locked --workspace - - name: Run Windows ConPTY CLI smoke test - if: runner.os == 'Windows' - run: cargo test --locked -p bitfun-cli --test terminal_process_contracts - - name: Run core and desktop Rust tests run: cargo test --locked -p bitfun-core -p bitfun-desktop diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index afa2151660..7c429dd3fc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -195,6 +195,16 @@ jobs: echo "package.json version: $(jq -r '.version' package.json)" echo "Cargo.toml version: $(grep 'x-release-please-version' Cargo.toml)" + - name: Run Windows CLI terminal contracts + if: runner.os == 'Windows' + env: + CARGO_INCREMENTAL: "0" + CARGO_PROFILE_DEV_DEBUG: "0" + CARGO_PROFILE_TEST_DEBUG: "0" + run: | + cargo generate-lockfile + cargo test --locked -p bitfun-cli --test terminal_process_contracts + - name: Build desktop app run: ${{ matrix.platform.build_command }}