pass test flag
This commit is contained in:
Родитель
8211ea330c
Коммит
24456c1544
|
@ -38,8 +38,7 @@ try {
|
|||
if ($ci) {
|
||||
$arguments += "-ci"
|
||||
}
|
||||
if ($test -And -Not($ci)) {
|
||||
# CI runs unit tests elsewhere, so only promote the `-test` switch if we're not running CI
|
||||
if ($test) {
|
||||
$arguments += '-test'
|
||||
}
|
||||
|
||||
|
|
|
@ -60,8 +60,7 @@ done
|
|||
|
||||
if [[ "$no_dotnet" != true ]]; then
|
||||
# promote switches to arguments
|
||||
if [[ "$run_tests" == true ]] && [[ "$is_ci" != true ]]; then
|
||||
# CI runs unit tests elsewhere, so only promote the `--test` switch if we're not running CI
|
||||
if [[ "$run_tests" == true ]]; then
|
||||
args="$args --test"
|
||||
fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче