Skip to content

Commit

Permalink
removed features
Browse files Browse the repository at this point in the history
  • Loading branch information
yongkangc committed Nov 22, 2023
1 parent 4f662a7 commit fe8eedc
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,12 @@ jobs:
include:
- rust: stable
toolchain: stable
features: "--features full"
- rust: beta
toolchain: beta
features: "--features full"
- rust: nightly
toolchain: nightly-2023-09-27
features: "--features full nightly"
- rust: msrv
toolchain: 1.68.0
features: "--features full"

steps:
- name: Checkout
Expand All @@ -110,16 +106,16 @@ jobs:
# NB. Don't test (build) examples so we can use non-msrv features in them (--tests/--doc)
- name: Compile
run: |
cargo +${{ matrix.toolchain }} test --tests --no-run --verbose ${{ matrix.features }}
cargo +${{ matrix.toolchain }} test --tests --no-run --verbose
- name: Test unit & integration tests
run: |
cargo +${{ matrix.toolchain }} test --tests --verbose ${{ matrix.features }}
cargo +${{ matrix.toolchain }} test --tests --verbose
- name: Test documentation tests
if: ${{ matrix.rust != 'msrv' }}
run: |
cargo +${{ matrix.toolchain }} test --doc --verbose ${{ matrix.features }}
cargo +${{ matrix.toolchain }} test --doc --verbose
# check-examples:
# runs-on: ubuntu-latest
Expand All @@ -138,7 +134,7 @@ jobs:

# - name: Check examples
# run: |
# cargo +stable check --examples --features full
# cargo +stable check --examples

# # TODO: prolly move it to a separate step?
# - name: Check with no default features
Expand All @@ -164,7 +160,7 @@ jobs:

- name: clippy
run: |
cargo clippy --all-targets --features "full nightly"
cargo clippy --all-targets
doc:
name: check docs
Expand Down

0 comments on commit fe8eedc

Please sign in to comment.