Skip to content

Commit a69002c

Browse files
authored
Disable macOS CI tests in azure-pipelines (GH-22639)
1 parent aed2648 commit a69002c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.azure-pipelines/ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ jobs:
3030
- job: macOS_CI_Tests
3131
displayName: macOS CI Tests
3232
dependsOn: Prebuild
33-
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
33+
#condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
34+
# bpo-39837: macOS tests on Azure Pipelines are disabled
3435

3536
variables:
3637
testRunTitle: '$(build.sourceBranchName)-macos'
3738
testRunPlatform: macos
3839

3940
pool:
40-
vmImage: xcode9-macos10.13
41+
vmImage: macos-10.14
4142

4243
steps:
4344
- template: ./macos-steps.yml

.azure-pipelines/macos-steps.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ steps:
66
- script: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-azdev
77
displayName: 'Configure CPython (debug)'
88

9-
- script: make -s -j4
9+
- script: make -j4
1010
displayName: 'Build CPython'
1111

1212
- script: make pythoninfo
1313
displayName: 'Display build info'
1414

1515
- script: make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
1616
displayName: 'Tests'
17+
continueOnError: true
18+
timeoutInMinutes: 30
1719

1820
- task: PublishTestResults@2
1921
displayName: 'Publish Test Results'

.azure-pipelines/pr.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ jobs:
2525
displayName: macOS PR Tests
2626
dependsOn: Prebuild
2727
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
28+
#condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
29+
# bpo-39837: macOS tests on Azure Pipelines are disabled
2830

2931
variables:
3032
testRunTitle: '$(system.pullRequest.TargetBranch)-macos'
3133
testRunPlatform: macos
3234

3335
pool:
34-
vmImage: xcode9-macos10.13
36+
vmImage: macos-10.14
3537

3638
steps:
3739
- template: ./macos-steps.yml

0 commit comments

Comments
 (0)