From dd31352bc6529b69734f25323e451f87797dd880 Mon Sep 17 00:00:00 2001 From: raychu86 Date: Sun, 13 Sep 2020 21:53:53 -0700 Subject: [PATCH] Add package test workflow --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc4ae82088..53bf3ea38a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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