mirror of https://github.com/fafhrd91/actix-net
ci: run non io-uring tests on Linux
This commit is contained in:
parent
7878cbc956
commit
bdfc72ee3d
|
@ -15,7 +15,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
read_msrv:
|
read_msrv:
|
||||||
name: Read MSRV
|
name: Read MSRV
|
||||||
uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@main
|
uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@v0.1.0
|
||||||
|
|
||||||
build_and_test:
|
build_and_test:
|
||||||
needs:
|
needs:
|
||||||
|
@ -109,8 +109,6 @@ jobs:
|
||||||
- name: tests
|
- name: tests
|
||||||
run: just test
|
run: just test
|
||||||
|
|
||||||
# TODO: re-instate some io-uring tests for PRs
|
|
||||||
|
|
||||||
- name: CI cache clean
|
- name: CI cache clean
|
||||||
run: cargo-ci-cache-clean
|
run: cargo-ci-cache-clean
|
||||||
|
|
||||||
|
|
9
justfile
9
justfile
|
@ -28,11 +28,20 @@ all_crate_features := if os() == "linux" {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Test workspace code.
|
# Test workspace code.
|
||||||
|
[macos, windows]
|
||||||
test toolchain="":
|
test toolchain="":
|
||||||
cargo {{ toolchain }} test --lib --tests --package=actix-macros
|
cargo {{ toolchain }} test --lib --tests --package=actix-macros
|
||||||
cargo {{ toolchain }} nextest run --workspace --exclude=actix-macros --no-default-features
|
cargo {{ toolchain }} nextest run --workspace --exclude=actix-macros --no-default-features
|
||||||
cargo {{ toolchain }} nextest run --workspace --exclude=actix-macros {{ all_crate_features }}
|
cargo {{ toolchain }} nextest run --workspace --exclude=actix-macros {{ all_crate_features }}
|
||||||
|
|
||||||
|
# Test workspace code.
|
||||||
|
[linux]
|
||||||
|
test toolchain="":
|
||||||
|
cargo {{ toolchain }} test --lib --tests --package=actix-macros
|
||||||
|
cargo {{ toolchain }} nextest run --workspace --exclude=actix-macros --no-default-features
|
||||||
|
cargo {{ toolchain }} nextest run --workspace --exclude=actix-macros {{ non_linux_all_features_list }}
|
||||||
|
cargo {{ toolchain }} nextest run --workspace --exclude=actix-macros {{ all_crate_features }}
|
||||||
|
|
||||||
# Test workspace using MSRV.
|
# Test workspace using MSRV.
|
||||||
test-msrv: downgrade-for-msrv (test msrv_rustup)
|
test-msrv: downgrade-for-msrv (test msrv_rustup)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue