Skip to content

Replace most actions-rs actions #83

Replace most actions-rs actions

Replace most actions-rs actions #83

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Code Coverage
jobs:
lint:
continue-on-error: true
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
steps:
- uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@nightly
- run: cargo test --no-fail-fast
- run: cargo test --features=small-chunks --no-fail-fast
- id: coverage
uses: actions-rs/[email protected]
- name: Coveralls upload
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ steps.coverage.outputs.report }}