diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fe7ee9b1..d532721c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -82,7 +82,7 @@ jobs: run: "LAZE=$(pwd)/target/debug/laze make -C src/tests" - name: "collect coverage results" - if: ${{ matrix.toolchain == 'nightly' }} + if: ${{ startsWith(matrix.toolchain, 'nightly') }} run: > RUSTUP_TOOLCHAIN=${{ matrix.toolchain }} grcov @@ -95,7 +95,7 @@ jobs: --ignore "/*" - name: Coveralls - if: ${{ matrix.toolchain == 'nightly' }} + if: ${{ startsWith(matrix.toolchain, 'nightly') }} uses: coverallsapp/github-action@v1 with: path-to-lcov: "lcov.info"