Skip to content

Commit

Permalink
test: enable test_features when testing regular builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Feb 7, 2025
1 parent 5f68d8c commit 67b4a0c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ platform_excludes := if os() == "macos" {
""
}

nightly_flags := "--features nightly,test_features"
nightly_test_flags := "--features nightly,test_features"
stable_test_flags := "--features test_features"

export RUST_BACKTRACE := env("RUST_BACKTRACE", "short")
ci_hack_nextest_profile := if env("CI_HACKS", "0") == "1" { "--profile ci" } else { "" }
Expand Down Expand Up @@ -44,8 +45,8 @@ nextest TYPE *FLAGS:
--cargo-profile dev-release \
{{ ci_hack_nextest_profile }} \
{{ platform_excludes }} \
{{ if TYPE == "nightly" { nightly_flags } \
else if TYPE == "stable" { "" } \
{{ if TYPE == "nightly" { nightly_test_flags } \
else if TYPE == "stable" { stable_test_flags } \
else { error("TYPE is neighter 'nightly' nor 'stable'") } }} \

Check warning on line 50 in Justfile

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (neighter)
{{ FLAGS }}

Expand Down

0 comments on commit 67b4a0c

Please sign in to comment.