Skip to content

Publish

Publish #55

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests-linux:
strategy:
matrix:
features:
- feature: tokio
name: tokio
- feature: async-std
name: asyncstd
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install deps [Linux]
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1
- name: Install llvm-tools-preview
run: rustup component add llvm-tools-preview
- uses: Swatinem/rust-cache@v1
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
env:
PROPTEST_CASES: 2500
RUSTFLAGS: -D warnings -C target-feature=+avx,+avx2,+sse4.2
RUST_BACKTRACE: 1
run: cargo llvm-cov --workspace --lcov --output-path lcov.txt --features ${{ matrix.features.feature }} --no-default-features
- uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.features.name }}
files: ./lcov.txt