Skip to content

Publish

Publish #132

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
with:
key: "no-cpu-target-native"
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
env:
RUSTFLAGS: -D warnings
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)