mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 15:27:16 +00:00
commit
89f69d87df
3 changed files with 11 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/rust-next.yml
vendored
5
.github/workflows/rust-next.yml
vendored
|
@ -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:
|
||||
|
|
3
Makefile
3
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}
|
||||
|
|
Loading…
Add table
Reference in a new issue