Skip to content

Commit

Permalink
Make CI build & test use default and all feature sets (unicode-org#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran authored and zbraniecki committed Jun 18, 2020
1 parent a07d3b5 commit 4dc5f76
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
feature-set: [ "", "--all-features" ] # no feature options ("") uses default.
# --no-default-features is not allowed
# at root of virtual workspace for
# both build and test.


runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -43,10 +47,10 @@ jobs:
## Build and run steps

- name: Build
run: cargo build --verbose
run: cargo build ${{ matrix.feature-set }} --verbose

- name: Test
run: cargo test --verbose
run: cargo test ${{ matrix.feature-set }} --verbose

format:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4dc5f76

Please sign in to comment.