mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 07:34:35 -05:00
* fix: intoducing cargo all-features clippy * fix: change check to clippy for better diagnostics * chore: build is redundant * fix: lint task * feat: speed up tests by 2x with cargo-nextest * fix: re-add flags * fix: router example build process * fix: correct clippy arguments * fix: adapt examples makefile to new tools * fix(CI): add cargo-all-features part of CI dep * fix: just warn if there is no tests * fix(CI): add clippy and rustfmt components * fix: nextest in examples * fix: clippy should not run on empty set of features in examples (quickfix) * fix: pin cargo-all-features installation to a branch * fix: nextest --no-tests=warn? * fix: do not use built-in cargo-make workflows * fix: remove --all-targets * fix: do not run tests in parallel in certain examples * fix: disable nextest for examples * fix: properly override the make task * chore: run tests with no-deps * fix: hackernews_islands_axum * fix(CI): properly use --no-deps * fix(CI): --no-deps is not supported in tests * fix(CI): run doctests separately due to stable rust limitation in nextest * fix(examples): makefile lint recursion * fix(CI): run tests correctly * fix: remove unused clear in test makefile * fix: --no-deps positional arg in clippy * fix: run doctests for all-features * fix: running cargo-all-features over doctests * fix: improve playwright makefile
17 lines
578 B
TOML
17 lines
578 B
TOML
[tasks.test-each-feature]
|
|
env = { "NEXTEST_NO_TESTS" = "warn" }
|
|
command = "cargo"
|
|
args = ["all-features", "nextest", "run", "--all-targets"]
|
|
install_script = '''
|
|
cargo install --git https://github.com/sabify/cargo-all-features --branch arbitrary-command-support
|
|
'''
|
|
|
|
# This can be removed once doctests is supported in nextest
|
|
# https://github.com/nextest-rs/nextest/issues/16
|
|
[tasks.doctests]
|
|
command = "cargo"
|
|
args = ["all-features", "test", "--doc"]
|
|
install_script = '''
|
|
cargo install --git https://github.com/sabify/cargo-all-features --branch arbitrary-command-support
|
|
'''
|