From bbe8cd1b9e605e3944c9b918b36a254dec5ad74b Mon Sep 17 00:00:00 2001 From: Chris Eager Date: Fri, 27 May 2022 11:55:13 -0700 Subject: [PATCH] Add relevant `--target` to `cargo test` in CI --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4de7c7fa..bd1e2236 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,10 +166,10 @@ jobs: run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV - if: "startsWith(matrix.os, 'windows') && !contains(matrix.target, 'ios')" # CI's Windows doesn't have require root certs - run: cargo test --workspace --exclude tokio-boring --exclude hyper-boring + run: cargo test --workspace --target ${{ matrix.target }} --exclude tokio-boring --exclude hyper-boring name: Run tests (Windows) - if: "!startsWith(matrix.os, 'windows') && !contains(matrix.target, 'ios')" - run: cargo test + run: cargo test --target ${{ matrix.target }} name: Run tests (not Windows) - if: "contains(matrix.target, 'ios')" # It's... theoretically possible to run tests on iPhone Simulator,