Browse Source

Test with all feature combinations

Sam Clements 3 years ago
parent
commit
a2237fc1fd
1 changed files with 4 additions and 7 deletions
  1. 4 7
      .github/workflows/ci.yml

+ 4 - 7
.github/workflows/ci.yml

@@ -48,13 +48,10 @@ jobs:
           toolchain: ${{ matrix.toolchain }}
           profile: minimal
 
-      - run: cargo +${{ matrix.toolchain }} build --workspace
-      - run: cargo +${{ matrix.toolchain }} test --workspace --no-run
-      - run: cargo +${{ matrix.toolchain }} test --workspace
-
-      - run: cargo +${{ matrix.toolchain }} build  --no-default-features --workspace
-      - run: cargo +${{ matrix.toolchain }} test  --no-default-features --workspace --no-run
-      - run: cargo +${{ matrix.toolchain }} test  --no-default-features --workspace
+      - run: cargo +${{ matrix.toolchain }} test --all-features
+      - run: cargo +${{ matrix.toolchain }} test --no-default-features
+      - run: cargo +${{ matrix.toolchain }} test --no-default-features --features colors
+      - run: cargo +${{ matrix.toolchain }} test --no-default-features --features timestamps
 
   rust-publish-crates:
     if: startsWith(github.ref, 'refs/tags/')