diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f26827..a1e8628 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,8 @@ jobs: - name: Build Setup uses: ./.github/actions/build_setup - name: Run tests + # https://github.com/actions/runner/issues/241, required to make the stdin.isterminal() conditionals work. + shell: 'script --quiet --return --command "bash {0}"' run: cargo test --all-features -- --include-ignored --nocapture clippy: name: Lint @@ -91,6 +93,8 @@ jobs: - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - name: Generate code coverage + # https://github.com/actions/runner/issues/241, required to make the stdin.isterminal() conditionals work. + shell: 'script --quiet --return --command "bash {0}"' run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info - name: Upload coverage to Codecov uses: codecov/codecov-action@v3