$ErrorActionPreference = "Stop"
$PSNativeCommandUseErrorActionPreference = $true

& "$PSScriptRoot/../../scripts/shell/enter_vs_dev_shell.ps1"
& "${env:VCPKG_ROOT}/vcpkg.exe" integrate install

& python -c "import pycolmap; print(pycolmap.__version__)"

Set-Location "$PSScriptRoot/../.."
& python -m pytest
