diff --git a/.azure-pipelines/ci.yml b/.azure-pipelines/ci.yml index 9b3415fd2b5861..4deeb4d8a67bf6 100644 --- a/.azure-pipelines/ci.yml +++ b/.azure-pipelines/ci.yml @@ -5,7 +5,7 @@ jobs: displayName: Pre-build checks pool: - vmImage: ubuntu-24.04 + vmImage: ubuntu-26.04 steps: - template: ./prebuild-checks.yml @@ -44,5 +44,5 @@ jobs: kind: embed - template: ./windows-layout-steps.yml parameters: - kind: appx + kind: pymanager fulltest: true diff --git a/.azure-pipelines/prebuild-checks.yml b/.azure-pipelines/prebuild-checks.yml index 2c6460d2386735..7ec2d7a7ba2f53 100644 --- a/.azure-pipelines/prebuild-checks.yml +++ b/.azure-pipelines/prebuild-checks.yml @@ -2,17 +2,8 @@ steps: - checkout: self fetchDepth: 5 -- script: echo "##vso[task.setvariable variable=diffTarget]HEAD~1" - displayName: Set default diff target - -- script: | - git fetch -q origin $(System.PullRequest.TargetBranch) - echo "##vso[task.setvariable variable=diffTarget]HEAD \$(git merge-base HEAD FETCH_HEAD)" - displayName: Fetch comparison tree - condition: and(succeeded(), variables['System.PullRequest.TargetBranch']) - - script: | - if ! git diff --name-only $(diffTarget) | grep -qvE '(\.rst$|^Doc|^Misc)' + if ! git diff --name-only HEAD~1 | grep -qvE '(\.rst$|^Doc|^Misc)' then echo "Only docs were updated: tests.run=false" echo "##vso[task.setvariable variable=run;isOutput=true]false" diff --git a/.azure-pipelines/windows-layout-steps.yml b/.azure-pipelines/windows-layout-steps.yml index e15729fac3443d..6a70a70ae29836 100644 --- a/.azure-pipelines/windows-layout-steps.yml +++ b/.azure-pipelines/windows-layout-steps.yml @@ -15,8 +15,6 @@ steps: - script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)" workingDirectory: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch) displayName: ${{ parameters.kind }} Tests - env: - PREFIX: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch) - task: PublishTestResults@2 displayName: Publish ${{ parameters.kind }} Test Results diff --git a/.azure-pipelines/windows-steps.yml b/.azure-pipelines/windows-steps.yml index f502c40637c310..ccf4ad00b4dbc8 100644 --- a/.azure-pipelines/windows-steps.yml +++ b/.azure-pipelines/windows-steps.yml @@ -14,8 +14,6 @@ steps: - script: PCbuild\build.bat -e $(buildOpt) displayName: 'Build CPython' - env: - IncludeUwp: true - script: python.bat -m test.pythoninfo displayName: 'Display build info'