Skip to content

Create dependabot.yml #100

Create dependabot.yml

Create dependabot.yml #100

Workflow file for this run

name: Rust-codecov
on:
push:
branches:
- master
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
name: Code coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup tools
uses: dtolnay/rust-toolchain@stable
- name: Install binstall
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
- name: Install cargo-tarpaulin
run: cargo clean && cargo binstall cargo-tarpaulin -y
- name: Run tests with coverage
run: cargo tarpaulin --verbose --exclude-files benches/* --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_KEY}}
fail_ci_if_error: true