mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-14 09:23:38 +03:00
24 lines
522 B
PowerShell
24 lines
522 B
PowerShell
Set-StrictMode -Version latest
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
write-host -foregroundcolor Cyan "----- integration tests -----"
|
|
|
|
$actual_dir=(Get-Location).Path
|
|
$project_root_path=(Resolve-Path -LiteralPath $PSScriptRoot\..\..).path
|
|
|
|
# hurl infos
|
|
(Get-Command hurl).Path
|
|
(Get-Command hurlfmt).Path
|
|
hurl --version
|
|
if ($LASTEXITCODE) { Throw }
|
|
hurlfmt --version
|
|
if ($LASTEXITCODE) { Throw }
|
|
|
|
# run integration tests
|
|
cd $project_root_path\integration\hurl
|
|
python integration.py
|
|
if ($LASTEXITCODE) { Throw }
|
|
|
|
cd $actual_dir
|
|
|