Commit 2fc93f7
committed
Set nextest behavior on empty runs more explicitly
`cargo nextest` will eventually default to `--no-tests=error`, but
it doesn't yet. Currently, `cargo nextest run -p gitoxide-core`
runs no tests, as there are non in `gitoxide-core` (checked by
running `git grep '#.*\[.*test' -- gitoxide-core`).
This adds `--no-tests=warn` to that command in the `unit-tests`
recipe in `justfile`, to make the default behavior explicit.
For CI (but not otherwise), this sets the default to `fail` now by
setting the `NEXTEST_NO_TESTS` environment variable. (This is
overridden by `--no-tests=warn` so it does not fail `unit-tests`.)1 parent b9a6fb1 commit 2fc93f7
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments