Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 20, 2023
1 parent a3f844c commit b541b46
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,29 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run tests on Linux or macOS
run: |
cargo llvm-cov --color always --lcov --output-path lcov.info --features=search,termwiz,termion,arbitrary
cargo llvm-cov --color always --no-run
run: cargo llvm-cov --color always --lcov --output-path lcov.info --features=search,termwiz,termion,arbitrary
if: ${{ matrix.os != 'windows-latest' }}
- name: Run tests on Windows
run: |
cargo llvm-cov --color always --lcov --output-path lcov.info --features=search,termwiz,arbitrary
cargo llvm-cov --color always --no-run
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 --lcov --output-path lcov-clipboard.info --features=clipboard clipboard::tests::
- run: cargo llvm-cov --color always --no-run
- run: cargo test --features=clipboard 'clipboard::tests::'
- name: Run clipboard tests on Linux
uses: coactions/setup-xvfb@v1
with:
run: cargo test --features=clipboard 'clipboard::tests::'
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Run clipboard tests on Windows or macOS
run: cargo test --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
if: ${{ matrix.os != 'windows-latest' }}
- run: cargo test --no-default-features --features=no-backend,search -- --skip .rs
- run: cargo test --no-default-features --features=tuirs-no-backend,search -- --skip .rs
- uses: codecov/codecov-action@v3
with:
files: lcov.info,lcov-clipboard.info
files: lcov.info
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit b541b46

Please sign in to comment.