CI: Improve feature testing.
`dev_urandom_fallback` presently does nothing, so don't bother adding it as a matrix dimension. Because `dev_urandom_fallback` does nothing, `--no-default-features --features=alloc` is effectively the same as the default feature set, so don't add it as a matrix dimension. `--all-features` is no longer appropriate after the ARM hardware feature disabling features were added, so replace it with what we really want, `--features=std,slow_tests`. In the coverage section, `--features=alloc,dev_urandom_fallback,std` is the same as `--features=std` since `alloc and `urandom_fallback` are default features.
This commit is contained in:
parent
42936aa198
commit
8f042cef71
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -357,9 +357,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
features:
|
features:
|
||||||
- --no-default-features
|
- --no-default-features
|
||||||
- --no-default-features --features=alloc
|
- --features=std,slow_tests
|
||||||
- --no-default-features --features=dev_urandom_fallback
|
|
||||||
- --all-features
|
|
||||||
|
|
||||||
target:
|
target:
|
||||||
- aarch64-unknown-linux-musl
|
- aarch64-unknown-linux-musl
|
||||||
@ -509,7 +507,7 @@ jobs:
|
|||||||
# unuseful, or even counterproductive, for coverage testing.
|
# unuseful, or even counterproductive, for coverage testing.
|
||||||
# `slow_tests` is slow and it is running code that is already intended
|
# `slow_tests` is slow and it is running code that is already intended
|
||||||
# to be covered without it being enabled.
|
# to be covered without it being enabled.
|
||||||
- --features=alloc,dev_urandom_fallback,std
|
- --features=std
|
||||||
|
|
||||||
# TODO: targets
|
# TODO: targets
|
||||||
target:
|
target:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user