Skip to content

(cargo-release) version 0.6.2 #230

(cargo-release) version 0.6.2

(cargo-release) version 0.6.2 #230

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: llvm-tools-preview
toolchain: stable
- uses: Swatinem/rust-cache@v1
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
env:
RUSTFLAGS: -D warnings -C target-cpu=native
RUST_BACKTRACE: 1
run: cargo llvm-cov --workspace --lcov --output-path lcov.txt
- uses: codecov/codecov-action@v3
with:
files: ./lcov.txt # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)