From 388bee932865ac21e062e785db68b671184fdd3f Mon Sep 17 00:00:00 2001 From: Tony Date: Fri, 2 Jan 2026 23:13:51 +0800 Subject: [PATCH] Test with doc tests --- .github/workflows/test-core.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.yml index 59f393c31..b9f20c9cb 100644 --- a/.github/workflows/test-core.yml +++ b/.github/workflows/test-core.yml @@ -95,15 +95,13 @@ jobs: - name: test tauri-utils if: ${{ !matrix.platform.cross }} - # Using --lib --bins --tests to skip doc tests - run: cargo ${{ matrix.platform.command }} --target ${{ matrix.platform.target }} ${{ matrix.features.args }} --lib --bins --tests --manifest-path crates/tauri-utils/Cargo.toml + run: cargo ${{ matrix.platform.command }} --target ${{ matrix.platform.target }} ${{ matrix.features.args }} --manifest-path crates/tauri-utils/Cargo.toml - name: test tauri-utils (using cross) if: ${{ matrix.platform.cross }} - # Using --lib --bins --tests to skip doc tests run: | cargo install cross --git https://github.com/cross-rs/cross --rev 51f46f296253d8122c927c5bb933e3c4f27cc317 --locked - cross ${{ matrix.platform.command }} --target ${{ matrix.platform.target }} ${{ matrix.features.args }} --lib --bins --tests --manifest-path crates/tauri-utils/Cargo.toml + cross ${{ matrix.platform.command }} --target ${{ matrix.platform.target }} ${{ matrix.features.args }} --manifest-path crates/tauri-utils/Cargo.toml - name: test tauri if: ${{ !matrix.platform.cross }}