From 2d171249d93dbe4f2cf90ea4f3fe8637639c6d5c Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 18 Mar 2023 16:02:30 +0100 Subject: [PATCH] feat: test other way around --- .github/workflows/ci-multiplatform.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci-multiplatform.yml b/.github/workflows/ci-multiplatform.yml index 05b8f57..f7b0f7b 100644 --- a/.github/workflows/ci-multiplatform.yml +++ b/.github/workflows/ci-multiplatform.yml @@ -100,12 +100,6 @@ jobs: echo "target flag is: ${{ env.TARGET_FLAGS }}" - name: Build all crates run: ${{ env.CARGO }} build --verbose --workspace ${{ env.TARGET_FLAGS }} - # This is useful for debugging problems when the expected build artifacts - # (like shell completions and man pages) aren't generated. - name: Run tests - # These tests should actually work, but they almost double the runtime. - # Every integration test spins up qemu to run 'rg', and when PCRE2 is - # enabled, every integration test is run twice: one with the default - # regex engine and once with PCRE2. - if: matrix.target != '' + if: matrix.target == '' run: ${{ env.CARGO }} test --verbose --workspace ${{ env.TARGET_FLAGS }}