Skip to content

Commit

Permalink
fix(CI) enable coverage on doctest
Browse files Browse the repository at this point in the history
:warn: Marked as [unstable](taiki-e/cargo-llvm-cov#2)
also blindly removes `ci` directory which looks obsolete
refs quickwit-oss#1761
  • Loading branch information
saroh committed Jan 31, 2023
1 parent 0f20787 commit a123bcc
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 136 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Coverage

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
coverage:
Expand All @@ -16,7 +16,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo +nightly llvm-cov --all-features --workspace --lcov --output-path lcov.info
run: cargo +nightly llvm-cov --all-features --workspace --doctests --lcov --output-path lcov.info # --doctest is UNSTABLE
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
continue-on-error: true
Expand Down
23 changes: 0 additions & 23 deletions ci/before_deploy.ps1

This file was deleted.

33 changes: 0 additions & 33 deletions ci/before_deploy.sh

This file was deleted.

47 changes: 0 additions & 47 deletions ci/install.sh

This file was deleted.

30 changes: 0 additions & 30 deletions ci/script.sh

This file was deleted.

0 comments on commit a123bcc

Please sign in to comment.