From c376a0253c23472759d0883f092015b0f2ea4988 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Mon, 15 Jul 2024 13:57:39 +0200 Subject: [PATCH] chore: run the tests on the version of the matrix --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 173bb7e..ef3dd84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,8 +97,8 @@ jobs: - name: Install opencl run: sudo apt-get install -y ocl-icd-opencl-dev - run: ${{ matrix.deps }} - - run: cargo test --target ${{ matrix.target }} - - run: cargo test --target ${{ matrix.target }} --features portable + - run: cargo +${{ matrix.toolchain }} test --target ${{ matrix.target }} + - run: cargo +${{ matrix.toolchain }} test --target ${{ matrix.target }} --features portable # macOS tests macos: @@ -116,8 +116,8 @@ jobs: with: toolchain: ${{ matrix.toolchain }} target: x86_64-apple-darwin - - run: cargo test - - run: cargo test --features portable + - run: cargo +${{ matrix.toolchain }} test + - run: cargo +${{ matrix.toolchain }} test --features portable # Windows tests windows: @@ -137,8 +137,8 @@ jobs: toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} - uses: msys2/setup-msys2@v2 - - run: cargo test --target ${{ matrix.target }} - - run: cargo test --target ${{ matrix.target }} --features portable + - run: cargo +${{ matrix.toolchain }} test --target ${{ matrix.target }} + - run: cargo +${{ matrix.toolchain }} test --target ${{ matrix.target }} --features portable clippy_check: needs: set-msrv