mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-08 18:12:55 +00:00
28 lines
903 B
YAML
28 lines
903 B
YAML
name: coverage
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
jobs:
|
|
test:
|
|
name: coverage
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: xd009642/tarpaulin:develop-nightly
|
|
options: --security-opt seccomp=unconfined
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Generate code coverage
|
|
run: |
|
|
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out Xml
|
|
|
|
- name: Upload to codecov.io
|
|
uses: codecov/codecov-action@v1
|
|
with:
|
|
# token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
|
|
fail_ci_if_error: true
|