/
githubmirror
/
meteor
Обзор
Документация
Войти
/
githubmirror
/
meteor
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
scripts/windows/ci/test.ps1
30 строк
716 B
Nacho Codoñer
Merge 2.x to 3.x (#13281)
07 авг 2024, 14:23
Не верифицирован
07 авг 2024, 14:23
e55febb
Код
Авторство
О чём код?
# For now, we only have one script. $jUnit = Join-Path $env:TEMP 'self-test-junit-0.xml' $tests = @( '^assets' '^autoupdate' '^dynamic import.*development' 'client refresh for application code' ) -Join '|' Write-Host "Running: $tests" -ForegroundColor Yellow Write-Host "Excluded: $env:SELF_TEST_EXCLUDE" -ForegroundColor Yellow .\meteor.bat self-test ` --retries 2 ` --junit "$jUnit" ` --exclude "$env:SELF_TEST_EXCLUDE" ` "$tests" ` '2>&1' $selfTestExitCode = $LASTEXITCODE If ($selfTestExitCode -eq 0) { Write-Host "Success!" -ForegroundColor Green } else { Write-Host "FAILURE! (Exit: $selfTestExitCode)" -ForegroundColor Red } If ($selfTestExitCode -ne 0) { Exit $selfTestExitCode }