mirror of https://github.com/fafhrd91/actix-web
welp....
This commit is contained in:
parent
93dbb813d1
commit
ebbfb0c418
|
@ -3,6 +3,7 @@ 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-full = "check --workspace --all-features --bins --examples --tests"
|
||||
ci-default = "check --workspace --bins --tests --examples"
|
||||
ci-full = "check --workspace --all-features --bins --tests --examples"
|
||||
ci-test = "test --workspace --all-features --lib --tests --no-fail-fast -- --nocapture"
|
||||
ci-doctest = "hack test --workspace --all-features --doc --no-fail-fast -- --nocapture"
|
||||
|
|
|
@ -64,22 +64,21 @@ jobs:
|
|||
command: install
|
||||
args: cargo-hack
|
||||
|
||||
# - name: check minimal
|
||||
# uses: actions-rs/cargo@v1
|
||||
# with: { command: ci-min }
|
||||
|
||||
# - name: check minimal + tests
|
||||
# uses: actions-rs/cargo@v1
|
||||
# with: { command: ci-min-test }
|
||||
|
||||
# - name: check full
|
||||
# uses: actions-rs/cargo@v1
|
||||
# with: { command: ci-full }
|
||||
|
||||
- name: doc tests
|
||||
- name: check minimal
|
||||
uses: actions-rs/cargo@v1
|
||||
timeout-minutes: 40
|
||||
with: { command: ci-doctest }
|
||||
with: { command: ci-min }
|
||||
|
||||
- name: check minimal + tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with: { command: ci-min-test }
|
||||
|
||||
- name: check default
|
||||
uses: actions-rs/cargo@v1
|
||||
with: { command: ci-default }
|
||||
|
||||
- name: check full
|
||||
uses: actions-rs/cargo@v1
|
||||
with: { command: ci-full }
|
||||
|
||||
- name: tests
|
||||
uses: actions-rs/cargo@v1
|
||||
|
@ -88,6 +87,13 @@ jobs:
|
|||
command: ci-test
|
||||
args: --skip=test_reading_deflate_encoding_large_random_rustls
|
||||
|
||||
- name: doc tests
|
||||
# due to unknown issue with running doc tests on macOS
|
||||
if: matrix.target.os == 'ubuntu-latest'
|
||||
uses: actions-rs/cargo@v1
|
||||
timeout-minutes: 40
|
||||
with: { command: ci-doctest }
|
||||
|
||||
- name: Generate coverage file
|
||||
if: >
|
||||
matrix.target.os == 'ubuntu-latest'
|
||||
|
|
Loading…
Reference in New Issue