Skip to content

fix(publish): remove unpublished monty git dep for v0.1.3 (#180) #211

fix(publish): remove unpublished monty git dep for v0.1.3 (#180)

fix(publish): remove unpublished monty git dep for v0.1.3 (#180) #211

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-coverage-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-coverage-
- name: Install cargo-tarpaulin
run: cargo install cargo-tarpaulin --locked
- name: Generate coverage report
run: |
cargo tarpaulin --features http_client \
--workspace \
--exclude bashkit-python \
--out xml \
--out html \
--output-dir coverage \
--exclude-files "crates/bashkit-bench/*" \
--exclude-files "crates/bashkit-cli/*" \
--exclude-files "crates/bashkit-python/*" \
--timeout 300 \
--skip-clean
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage/cobertura.xml
flags: unittests
fail_ci_if_error: false
verbose: true
- name: Upload coverage artifacts
uses: actions/upload-artifact@v6
with:
name: coverage-report
path: coverage/
retention-days: 30