Skip to content

Commit

Permalink
refactor(ci): Move ui tests to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 23, 2022
1 parent a7b7d43 commit 15f43f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Expand Up @@ -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 =
Expand All @@ -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

0 comments on commit 15f43f8

Please sign in to comment.