Skip to content

Commit

Permalink
test all feature combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
antonilol committed Oct 22, 2023
1 parent 744504b commit ab59811
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ env:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
args:
[
"--no-default-features",
"--features async",
]
steps:
- uses: actions/checkout@v3
- name: Check
run: |
cargo fmt --check
cargo clippy -- -D warnings
cargo clippy ${{ matrix.args }} -- -D warnings
- name: Build
run: cargo build --verbose
run: cargo build ${{ matrix.args }} --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test ${{ matrix.args }} --verbose

0 comments on commit ab59811

Please sign in to comment.