Skip to content

Merge pull request #1 from PegasusPlusUS/fix-nextest-issue-1684 #21

Merge pull request #1 from PegasusPlusUS/fix-nextest-issue-1684

Merge pull request #1 from PegasusPlusUS/fix-nextest-issue-1684 #21

Workflow file for this run

name: Rust project CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build, Test, and Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
- name: Run cargo tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.15.0'
args: '-- --test-threads 1'
- name: Upload to codecov.io
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}