Skip to content

Commit

Permalink
COMP: For windows-2019 Azure Pipelines CI, use Python version 3.9
Browse files Browse the repository at this point in the history
It appears that windows-2019 still has Python 3.7.9 by default, which is no longer supported by SimpleITK.

- See also pull request #989 commit ea765f2 "COMP: Upgrade Azure Pipelines CI from windows-2019 to windows-2022"

yml task code copied from https://github.com/InsightSoftwareConsortium/ITK/blob/69738a9d64f46e0f555d3cfc4bf7d01de1e4178a/Testing/ContinuousIntegration/AzurePipelinesWindows.yml#L44-L47
  • Loading branch information
N-Dekker committed Jun 7, 2024
1 parent 31585fe commit 6dff3ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Testing/CI/Azure/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
- bash: ../../../externalproject-build/Release/elastix_translation_example
displayName: 'Run externalproject'
workingDirectory: $(Agent.BuildDirectory)\Elastix-build\bin\Release
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
architecture: 'x64'
- bash: python -m pip install -r "$(ELASTIX_SOURCE_DIR)/Testing/PythonTests/requirements.txt"
displayName: 'Install PythonTests requirements'
- bash: ctest -C Release -VV -j 2 -E "elastix_run_example_COMPARE_IM|elastix_run_3DCT_lung.MI.bspline.ASGD.001_COMPARE_TP"
Expand Down

0 comments on commit 6dff3ed

Please sign in to comment.