Add package test workflow

This commit is contained in:
raychu86 2020-09-13 21:53:53 -07:00
parent ec9daf62e6
commit dd31352bc6

View File

@ -96,6 +96,34 @@ jobs:
command: test
args: --release --all --features ci_skip --no-fail-fast
test-package:
name: Test Package
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust (${{ matrix.rust }})
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Install cargo-all-features
run: |
cargo install cargo-all-features
- name: Test
run: |
cd packages
cargo test-all-features
codecov:
name: Code Coverage
runs-on: ubuntu-latest