Skip to content

Commit

Permalink
Removing xcbeautify usage (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobaFetters authored and runner committed Oct 12, 2023
1 parent bb63a39 commit 079ffe5
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 17 deletions.
7 changes: 1 addition & 6 deletions .github/actions/build-and-run-unit-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ inputs:
runs:
using: "composite"
steps:
# Look into caching the xcbeautify installation to instead of installing for each test
- name: Install XCBeautify
shell: bash
run: |
HOMEBREW_NO_AUTO_UPDATE=1 brew install xcbeautify
- name: Build and Test
shell: bash
run: |
xcodebuild clean test -resultBundlePath TestResults/ResultBundle.xcresult -derivedDataPath DerivedData -workspace "ApolloDev.xcworkspace" -scheme "${{ inputs.scheme }}" -destination "${{ inputs.destination }}" -testPlan "${{ inputs.test-plan }}" | xcbeautify
xcodebuild clean test -resultBundlePath TestResults/ResultBundle.xcresult -derivedDataPath DerivedData -workspace "ApolloDev.xcworkspace" -scheme "${{ inputs.scheme }}" -destination "${{ inputs.destination }}" -testPlan "${{ inputs.test-plan }}"
4 changes: 0 additions & 4 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ jobs:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install XCBeautify
shell: bash
run: |
HOMEBREW_NO_AUTO_UPDATE=1 brew install xcbeautify
- name: Test Codegen Configurations
shell: bash
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,6 @@ jobs:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install XCBeautify
shell: bash
run: |
HOMEBREW_NO_AUTO_UPDATE=1 brew install xcbeautify
- name: Test Codegen Configurations
shell: bash
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

pod install
set -o pipefail && xcodebuild test -workspace CocoaPodsProject.xcworkspace -scheme CocoaPodsProject -destination platform=macOS -quiet | xcbeautify --is-ci
set -o pipefail && xcodebuild test -workspace CocoaPodsProject.xcworkspace -scheme CocoaPodsProject -destination platform=macOS -quiet
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

set -o pipefail && xcodebuild test -scheme CustomTargetProject -destination platform=macOS -quiet | xcbeautify --is-ci
set -o pipefail && xcodebuild test -scheme CustomTargetProject -destination platform=macOS -quiet
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

set -o pipefail && xcodebuild test -scheme SPMInXcodeProject -destination platform=macOS -quiet | xcbeautify --is-ci
set -o pipefail && xcodebuild test -scheme SPMInXcodeProject -destination platform=macOS -quiet

0 comments on commit 079ffe5

Please sign in to comment.