From a40ff354535b5a246cc49fec587c740df04dfe7b Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Tue, 15 Jun 2021 09:31:39 +0200 Subject: [PATCH 1/2] test all features --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5bcf25aaf..0cc1e7d11 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,6 @@ jobs: - name: Build run: cargo build --verbose --workspace - name: Run tests - run: cargo test --verbose --workspace + run: cargo test --all-features --verbose --workspace - name: Check Formatting run: cargo fmt --all -- --check From 060b83159a928a45007d2b765fe2b49e7d76eb3e Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Tue, 15 Jun 2021 09:50:17 +0200 Subject: [PATCH 2/2] use nightly for tests --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cc1e7d11..59fa5f0a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,12 @@ jobs: - uses: actions/checkout@v2 - name: Build run: cargo build --verbose --workspace + - name: Install latest nightly to test also against unstable feature flag + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + components: rustfmt - name: Run tests run: cargo test --all-features --verbose --workspace - name: Check Formatting