update cargo ci aliases

This commit is contained in:
Rob Ede 2021-06-23 18:38:13 +01:00
parent de04823166
commit 83e53f3311
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 8 additions and 18 deletions

View File

@ -3,6 +3,6 @@ chk = "check --workspace --all-features --tests --examples --bins"
lint = "clippy --workspace --tests --examples"
ci-min = "hack check --workspace --no-default-features"
ci-min-test = "hack check --workspace --no-default-features --tests --examples"
ci-default = "hack check --workspace"
ci-full = "check --workspace --bins --examples --tests"
ci-test = "test --workspace --all-features --no-fail-fast"
ci-full = "check --workspace --all-features --bins --examples --tests"
ci-test = "test --workspace --all-features --lib --tests --no-fail-fast -- --nocapture"
ci-doctest = "test --workspace --all-features --doc --no-fail-fast -- --nocapture"

View File

@ -66,35 +66,25 @@ jobs:
- name: check minimal
uses: actions-rs/cargo@v1
with:
command: hack
args: check --workspace --no-default-features
with: { command: ci-min }
- name: check minimal + tests
uses: actions-rs/cargo@v1
with:
command: hack
args: check --workspace --no-default-features --tests --examples
with: { command: ci-min-test }
- name: check full
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --all-features --bins --examples --tests
with: { command: ci-full }
- name: tests
uses: actions-rs/cargo@v1
timeout-minutes: 40
with:
command: test
args: --workspace --all-features --no-fail-fast --lib --tests -- --nocapture
with: { command: ci-test }
- name: doc tests
uses: actions-rs/cargo@v1
timeout-minutes: 40
with:
command: test
args: --workspace --all-features --no-fail-fast --doc -- --nocapture
with: { command: ci-doctest }
- name: Generate coverage file
if: >