]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Disable macOS CI tests in azure-pipelines (GH-22639)
authorNed Deily <nad@python.org>
Tue, 20 Oct 2020 04:18:00 +0000 (00:18 -0400)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 04:18:00 +0000 (00:18 -0400)
.azure-pipelines/ci.yml
.azure-pipelines/macos-steps.yml
.azure-pipelines/pr.yml

index 49a7bb6232aa26df0fe2119c1a47d2e38a759020..8678ff765fbd5690eb4b5934467348f76d33e184 100644 (file)
@@ -30,14 +30,15 @@ jobs:
 - job: macOS_CI_Tests
   displayName: macOS CI Tests
   dependsOn: Prebuild
-  condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
+  #condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
+  # bpo-39837: macOS tests on Azure Pipelines are disabled
 
   variables:
     testRunTitle: '$(build.sourceBranchName)-macos'
     testRunPlatform: macos
 
   pool:
-    vmImage: xcode9-macos10.13
+    vmImage: macos-10.14
 
   steps:
   - template: ./macos-steps.yml
index 647081689454acc3e64822b28cb04773303c0b55..fa38a0df8c87b821be8f4c3e3adb8922bdbea542 100644 (file)
@@ -6,7 +6,7 @@ steps:
 - script: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-azdev
   displayName: 'Configure CPython (debug)'
 
-- script: make -s -j4
+- script: make -j4
   displayName: 'Build CPython'
 
 - script: make pythoninfo
@@ -14,6 +14,8 @@ steps:
 
 - script: make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
   displayName: 'Tests'
+  continueOnError: true
+  timeoutInMinutes: 30
 
 - task: PublishTestResults@2
   displayName: 'Publish Test Results'
index 2d7fba9cf3283ed8988342bd97dcc0dbc5eb8d57..6db2a045920021754afc013fb96fa670835e52a9 100644 (file)
@@ -25,13 +25,15 @@ jobs:
   displayName: macOS PR Tests
   dependsOn: Prebuild
   condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
+  #condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
+  # bpo-39837: macOS tests on Azure Pipelines are disabled
 
   variables:
     testRunTitle: '$(system.pullRequest.TargetBranch)-macos'
     testRunPlatform: macos
 
   pool:
-    vmImage: xcode9-macos10.13
+    vmImage: macos-10.14
 
   steps:
   - template: ./macos-steps.yml