Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions device-detection/ci/run-integration-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
Loading