diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddb6fd75bdd..54efa814953 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,11 @@ jobs: run: make build-${{matrix.features}} - name: Test run: make test-${{matrix.features}} + - name: Test (benches) + run: make test-${{matrix.features}} ARGS='--workspace --benches' + - name: Test (ultra-minimal) + if: matrix.build == 'minimal' + run: make test-minimal ARGS='--manifest-path Cargo.toml' check: name: Check runs-on: ubuntu-latest diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index 3cefd960c6c..6b0ea11e5e7 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -53,6 +53,11 @@ jobs: run: make build-${{matrix.features}} - name: Test run: make test-${{matrix.features}} + - name: Test (benches) + run: make test-${{matrix.features}} ARGS='--workspace --benches' + - name: Test (ultra-minimal) + if: matrix.build == 'minimal' + run: make test-minimal ARGS='--manifest-path Cargo.toml' rustfmt: name: rustfmt strategy: diff --git a/Makefile b/Makefile index 3549935d7ec..3cf9917a94b 100644 --- a/Makefile +++ b/Makefile @@ -25,5 +25,4 @@ build-%: cargo test ${_FEATURES_${@:build-%=%}} --all-targets --no-run ${ARGS} test-%: - cargo test ${_FEATURES_${@:test-%=%}} --all-targets ${ARGS} - cargo test ${_FEATURES_${@:test-%=%}} --doc ${ARGS} + cargo test ${_FEATURES_${@:test-%=%}} ${ARGS}