Skip to content

Add iran-pay 0.1.0 + parsitext 0.1.1 (tantivy, IBAN gen) #19

Add iran-pay 0.1.0 + parsitext 0.1.1 (tantivy, IBAN gen)

Add iran-pay 0.1.0 + parsitext 0.1.1 (tantivy, IBAN gen) #19

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
name: cargo-llvm-cov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- name: Generate LCOV report (all features)
run: cargo llvm-cov --workspace --all-features --lcov --output-path lcov.info
- name: Generate text summary
run: cargo llvm-cov report --summary-only
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: false
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: lcov.info
path: lcov.info