Skip to content

(cargo-release) version 0.7.3 #207

(cargo-release) version 0.7.3

(cargo-release) version 0.7.3 #207

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests-linux:
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
- uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
toolchain: stable
- name: Run tests
run: cargo test --all
code-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install deps
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1
- uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
toolchain: stable
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
env:
RUSTFLAGS: -C target-cpu=native
with:
version: "0.20.0"
args: " --exclude-files target* --all --out Lcov"
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info