Skip to content

Commit

Permalink
workflows/main.yml: enable all package features
Browse files Browse the repository at this point in the history
  • Loading branch information
h7x4 committed Sep 6, 2023
1 parent ff0d34a commit db56238
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
run: cargo build --all-features --verbose

check:
runs-on: ubuntu-latest
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Check code format
run: cargo fmt -- --check
- name: Check clippy
run: cargo clippy -- --deny warnings
run: cargo clippy --all-features -- --deny warnings

test:
runs-on: '${{ matrix.os }}'
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test
run: cargo test --all-features
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort'
Expand All @@ -57,4 +57,4 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- name: Build docs
run: cargo doc --verbose
run: cargo doc --verbose

0 comments on commit db56238

Please sign in to comment.