File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ schedules:
1616jobs :
1717 - job : Windows
1818 pool :
19- Django-agent-pool
19+ name : SqlClientDrivers-1ES-Windows-agent-pool
20+ demands :
21+ - imageOverride -equals Django_Win2019
2022 timeoutInMinutes : 120
2123
2224 strategy :
7779 displayName : Use Python $(python.version)
7880
7981 - script : |
82+ docker pull mcr.microsoft.com/windows/servercore:1809
83+ docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=MyPassword42' -p 1433:1433 -d mcr.microsoft.com/windows/servercore:1809
8084 python -m pip install --upgrade pip wheel setuptools
8185 pip install tox
8286 git clone https://github.com/django/django.git
8589 - script : tox -e $(tox.env)
8690 displayName : Run tox
8791
88- - task : PublishCodeCoverageResults@1
89- inputs :
90- codeCoverageTool : ' Cobertura'
91- summaryFileLocation : ' C:\Windows\ServiceProfiles\NetworkService\coverage.xml'
92-
93- - task : PublishTestResults@2
94- displayName : Publish test results via jUnit
95- inputs :
96- testResultsFormat : ' JUnit'
97- testResultsFiles : ' C:\Windows\ServiceProfiles\NetworkService\result.xml'
98- testRunTitle : ' junit-$(Agent.OS)-$(Agent.OSArchitecture)-$(tox.env)'
9992
10093 - job : Linux
10194 pool :
You can’t perform that action at this time.
0 commit comments