ci: Disable Xcode tests (#2298)
This commit is contained in:
Родитель
a9c86497f8
Коммит
49ce1d304b
|
@ -129,37 +129,39 @@ jobs:
|
|||
CCACHE_DISABLE: 1
|
||||
displayName: Build ${{ slice.scheme }}
|
||||
|
||||
# Skip testing on visionOS via the conditions below
|
||||
|
||||
- ${{ if ne(slice.scheme, 'RNTester-visionOS') }}:
|
||||
- task: ShellScript@2
|
||||
displayName: Setup packager and WebSocket test server
|
||||
inputs:
|
||||
scriptPath: .ado/scripts/ado-test-setup.sh
|
||||
disableAutoCwd: true
|
||||
cwd: ''
|
||||
# https://github.com/microsoft/react-native-macos/issues/2297
|
||||
# Skip native tests as they tend to be flaky
|
||||
|
||||
- script: |
|
||||
echo Preparing the packager for platform $PLATFORM
|
||||
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
|
||||
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true&minify=false" -o /dev/null
|
||||
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
|
||||
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
|
||||
env:
|
||||
PLATFORM: ${{ slice.packager_platform }}
|
||||
displayName: Fetch JS bundles from dev server
|
||||
# - ${{ if ne(slice.scheme, 'RNTester-visionOS') }}:
|
||||
# - task: ShellScript@2
|
||||
# displayName: Setup packager and WebSocket test server
|
||||
# inputs:
|
||||
# scriptPath: .ado/scripts/ado-test-setup.sh
|
||||
# disableAutoCwd: true
|
||||
# cwd: ''
|
||||
|
||||
- script: |
|
||||
set -eox pipefail
|
||||
.ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} test
|
||||
env:
|
||||
CCACHE_DISABLE: 1
|
||||
displayName: Test ${{ slice.scheme }}
|
||||
# - script: |
|
||||
# echo Preparing the packager for platform $PLATFORM
|
||||
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
|
||||
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true&minify=false" -o /dev/null
|
||||
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
|
||||
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
|
||||
# env:
|
||||
# PLATFORM: ${{ slice.packager_platform }}
|
||||
# displayName: Fetch JS bundles from dev server
|
||||
|
||||
- task: ShellScript@2
|
||||
displayName: Cleanup packager and WebSocket test server
|
||||
inputs:
|
||||
scriptPath: .ado/scripts/ado-test-cleanup.sh
|
||||
disableAutoCwd: true
|
||||
cwd: ''
|
||||
condition: always()
|
||||
# - script: |
|
||||
# set -eox pipefail
|
||||
# .ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} test
|
||||
# env:
|
||||
# CCACHE_DISABLE: 1
|
||||
# displayName: Test ${{ slice.scheme }}
|
||||
|
||||
# - task: ShellScript@2
|
||||
# displayName: Cleanup packager and WebSocket test server
|
||||
# inputs:
|
||||
# scriptPath: .ado/scripts/ado-test-cleanup.sh
|
||||
# disableAutoCwd: true
|
||||
# cwd: ''
|
||||
# condition: always()
|
||||
|
|
Загрузка…
Ссылка в новой задаче