Skip to content

integration

integration #36

Workflow file for this run

name: Run tests
on:
push:
branches:
- 'main'
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Check
run: cargo check
# - name: Clippy
# run: RUSTFLAGS="-Dwarnings" cargo clippy -- -D warnings
- name: Build
run: cargo build
- name: Test
run: cargo test
- name: Format
run: cargo fmt --all -- --check
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
version: '0.22.0'
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}