File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,14 @@ jobs:
4343 displayName: 'Set Windows environment'
4444 env:
4545 CXX: "cl.exe"
46+
4647 - ${{ if eq(parameters.vmImage, 'windows-2022') }} :
4748 - script : |
4849 call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat"
4950 displayName: 'Set Windows environment'
5051 env:
5152 CXX: "cl.exe"
53+
5254 - bash : conda create --yes --quiet --name build_env conda-build conda-verify libarchive python=${{ parameters.py_maj }}.${{ parameters.py_min }} anaconda-client
5355 displayName : ' Create Anaconda environment'
5456
6264 PYTHON_VERSION: ${{ parameters.py_maj }}.${{ parameters.py_min }}
6365 PACKAGE_VERSION: $(Build.SourceBranchName)
6466 TOKEN: $(anaconda.TOKEN)
65-
66- - bash : |
67- source activate build_env && \
68- pip install pytest && \
69- cd test && \
70- pytest
71- displayName: 'Unitests using pytest'
You can’t perform that action at this time.
0 commit comments