mirror of
https://github.com/nushell/nushell
synced 2024-12-25 12:33:17 +00:00
- Fixes #10906 No rust changes, just tookit.nu. When `check pr` is run, it should now run with the `--workspace` argument so all tests are run.
This commit is contained in:
parent
ffb80b8873
commit
5ad7b8f029
1 changed files with 10 additions and 2 deletions
12
toolkit.nu
12
toolkit.nu
|
@ -267,9 +267,17 @@ export def "check pr" [
|
|||
print $"running ('toolkit test' | pretty-format-command)"
|
||||
try {
|
||||
if $fast {
|
||||
test --features $features --fast
|
||||
if ($features | is-empty) {
|
||||
test --workspace --fast
|
||||
} else {
|
||||
test --features $features --fast
|
||||
}
|
||||
} else {
|
||||
test --features $features
|
||||
if ($features | is-empty) {
|
||||
test --workspace
|
||||
} else {
|
||||
test --features $features
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
return (report --fail-test)
|
||||
|
|
Loading…
Reference in a new issue