diff --git a/device-detection/ci/run-integration-tests.ps1 b/device-detection/ci/run-integration-tests.ps1 index 7c4aa855..1c5e341d 100644 --- a/device-detection/ci/run-integration-tests.ps1 +++ b/device-detection/ci/run-integration-tests.ps1 @@ -103,11 +103,15 @@ Push-Location $examplesDir try { python3 -m venv .virtualenv if ($LASTEXITCODE -ne 0) { throw "failed to create the examples virtual environment" } - # The pipeline packages come from this checkout rather than a package - # index, so the examples run with the pipeline code they are released with. + # Every 51Degrees package the examples need comes from this checkout rather + # than a package index, as in the examples' tox.ini, so the examples run + # with the code they are released with. + $deviceDetection = 'fiftyone_devicedetection', 'fiftyone_devicedetection_cloud', + 'fiftyone_devicedetection_onpremise', 'fiftyone_devicedetection_shared' $pipeline = 'fiftyone_pipeline_core', 'fiftyone_pipeline_engines', 'fiftyone_pipeline_engines_fiftyone', 'fiftyone_pipeline_cloudrequestengine' - $local = $pipeline | ForEach-Object { '-e'; "../../pipeline/$_" } + $local = @($deviceDetection | ForEach-Object { '-e'; "../$_" }) + + @($pipeline | ForEach-Object { '-e'; "../../pipeline/$_" }) & $py -m pip install -e . @local if ($LASTEXITCODE -ne 0) { throw "failed to install the examples package" } } finally { Pop-Location }