Skip to content

Commit

Permalink
CI: Attempt to fix "is TTY" issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Jan 3, 2024
1 parent ada60d8 commit bc55ba8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bc55ba8

Please sign in to comment.