Skip to content

Commit

Permalink
enable coverage on testing clipboard thanks to arboard
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 20, 2023
1 parent ebb5e74 commit a97e1e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
- name: Run tests on Windows
run: cargo llvm-cov --color always --lcov --output-path lcov.info --features=search,termwiz,arbitrary
if: ${{ matrix.os == 'windows-latest' }}
- run: cargo llvm-cov --color always --no-run
- run: cargo llvm-cov report --color always
- name: Run clipboard tests on Linux
uses: coactions/setup-xvfb@v1
with:
run: cargo test --features=clipboard 'clipboard::tests::'
run: cargo llvm-cov --color always --lcov --output-path lcov-clipboard.info --features=clipboard -- 'clipboard::tests::'
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Run clipboard tests on Windows or macOS
run: cargo test --features=clipboard 'clipboard::tests::'
run: cargo llvm-cov --color always --lcov --output-path lcov-clipboard.info --features=clipboard -- 'clipboard::tests::'
if: ${{ matrix.os != 'ubuntu-latest' }}
- run: cargo test --no-default-features --features=tuirs-crossterm,search -- --skip .rs
- run: cargo test --no-default-features --features=tuirs-termion,search -- --skip .rs
Expand All @@ -39,7 +39,7 @@ jobs:
- run: cargo test --no-default-features --features=tuirs-no-backend,search -- --skip .rs
- uses: codecov/codecov-action@v3
with:
files: lcov.info
files: lcov.info,lcov-clipboard.info
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a97e1e3

Please sign in to comment.