Disabling XCPretty due to permission issue

pull/751/head
Morgan Pretty 12 months ago
parent 5bd0d5d640
commit f8b69cd03c

@ -28,13 +28,13 @@ local xcpretty_commands = [
platform: { os: 'darwin', arch: 'amd64' }, platform: { os: 'darwin', arch: 'amd64' },
steps: [ steps: [
{ name: 'Clone Submodules', commands: submodule_commands }, { name: 'Clone Submodules', commands: submodule_commands },
{ name: 'Install XCPretty', commands: xcpretty_commands }, // { name: 'Install XCPretty', commands: xcpretty_commands },
{ name: 'Install CocoaPods', commands: ['pod install'] }, { name: 'Install CocoaPods', commands: ['pod install'] },
{ {
name: 'Run Unit Tests', name: 'Run Unit Tests',
commands: [ commands: [
'mkdir build', 'mkdir build',
'xcodebuild test -workspace Session.xcworkspace -scheme Session -destination "platform=iOS Simulator,name=iPhone 14 Pro" | xcpretty --report html' 'xcodebuild test -workspace Session.xcworkspace -scheme Session -destination "platform=iOS Simulator,name=iPhone 14 Pro"' // | xcpretty --report html'
], ],
}, },
], ],
@ -47,13 +47,13 @@ local xcpretty_commands = [
platform: { os: 'darwin', arch: 'amd64' }, platform: { os: 'darwin', arch: 'amd64' },
steps: [ steps: [
{ name: 'Clone Submodules', commands: submodule_commands }, { name: 'Clone Submodules', commands: submodule_commands },
{ name: 'Install XCPretty', commands: xcpretty_commands }, // { name: 'Install XCPretty', commands: xcpretty_commands },
{ name: 'Install CocoaPods', commands: ['pod install'] }, { name: 'Install CocoaPods', commands: ['pod install'] },
{ {
name: 'Build', name: 'Build',
commands: [ commands: [
'mkdir build', 'mkdir build',
'xcodebuild -workspace Session.xcworkspace -scheme Session -configuration "App Store Release" -sdk iphonesimulator -derivedDataPath ./build -destination "generic/platform=iOS Simulator" | xcpretty', 'xcodebuild -workspace Session.xcworkspace -scheme Session -configuration "App Store Release" -sdk iphonesimulator -derivedDataPath ./build -destination "generic/platform=iOS Simulator"', // | xcpretty',
'./.drone-static-upload.sh' './.drone-static-upload.sh'
], ],
}, },
@ -67,7 +67,7 @@ local xcpretty_commands = [
// platform: { os: 'darwin', arch: 'amd64' }, // platform: { os: 'darwin', arch: 'amd64' },
// steps: [ // steps: [
// { name: 'Clone Submodules', commands: submodule_commands }, // { name: 'Clone Submodules', commands: submodule_commands },
// { name: 'Install XCPretty', commands: xcpretty_commands }, // // { name: 'Install XCPretty', commands: xcpretty_commands },
// { name: 'Install CocoaPods', commands: ['pod install'] }, // { name: 'Install CocoaPods', commands: ['pod install'] },
// { // {
// name: 'Build', // name: 'Build',

Loading…
Cancel
Save