Skip to content

Commit

Permalink
Run cargo test under a faketty
Browse files Browse the repository at this point in the history
  • Loading branch information
eminence committed Jul 7, 2022
1 parent 8e8628f commit 72be37a
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- master

jobs:
test:
name: Test
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -55,3 +55,21 @@ jobs:
- name: cargo build (i686)
run: cargo +${{ matrix.toolchain }} check --target i686-unknown-linux-gnu
if: contains(matrix.os, 'ubuntu')

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- uses: actions-rs/cargo@v1
name: Install faketty
with:
command: install
args: faketty

- name: Cargo test (under faketty)
run: faketty cargo test -- --nocapture

0 comments on commit 72be37a

Please sign in to comment.