diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fe3f3f4280..a224a3c4b6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,7 +125,7 @@ jobs: override: true - uses: Swatinem/rust-cache@v1 - name: UI Tests - run: cargo test --test derive_ui --features derive + run: make test-ui docs: name: Docs runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index e001b23f3fd..35f188b37fa 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ ifneq (${TOOLCHAIN_TARGET},) ARGS+=--target ${TOOLCHAIN_TARGET} endif +MSRV?=1.54.0 + _FEATURES = minimal default wasm full debug release _FEATURES_minimal = --no-default-features --features "std" _FEATURES_default = @@ -29,3 +31,6 @@ test-%: clippy-%: cargo clippy ${_FEATURES_${@:clippy-%=%}} ${ARGS} --all-targets -- -D warnings -A deprecated + +test-ui: + cargo +${MSRV} test --test derive_ui --features derive