Skip to content

Commit

Permalink
Replace xcpretty with xcbeautify
Browse files Browse the repository at this point in the history
  • Loading branch information
liamnichols committed Jan 26, 2024
1 parent 1e1cb82 commit 0dc5018
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,23 @@ jobs:

# Build library & Run Unit-Tests (macOS)
- name: Build & Unit-Test Library (macOS)
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "platform=macOS" clean test | bundle exec xcpretty
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "platform=macOS" clean test | xcbeautify

# Build library & Run Unit-Tests (iOS)
- name: Build & Unit-Test Library (iOS)
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "${{ matrix.destination_ios }}" clean test | bundle exec xcpretty
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "${{ matrix.destination_ios }}" clean test | xcbeautify

# Build library & Run Unit-Tests (watchOS)
- name: Build & Unit-Test Library (watchOS)
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "${{ matrix.destination_watchos }}" clean test | bundle exec xcpretty
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "${{ matrix.destination_watchos }}" clean test | xcbeautify

# Build library & Run Unit-Tests (tvOS)
- name: Build & Unit-Test Library (tvOS)
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "${{ matrix.destination_tvos }}" clean test | bundle exec xcpretty
run: ${{ env.XCODEBUILD }} -scheme $SCHEME -destination "${{ matrix.destination_tvos }}" clean test | xcbeautify

# Build Example Project & Run UI-Tests (iOS)
- name: Build & UI-Test Example Project (iOS)
run: ${{ env.XCODEBUILD }} -workspace "Example/Example.xcworkspace" -scheme "Example" -destination "${{ matrix.destination_ios }}" clean test | bundle exec xcpretty
run: ${{ env.XCODEBUILD }} -workspace "Example/Example.xcworkspace" -scheme "Example" -destination "${{ matrix.destination_ios }}" clean test | xcbeautify

# Verify CocoaPods
- name: Verify CocoaPods
Expand Down
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ source "https://rubygems.org"

# Cocoapods for iOS dependency management
gem 'cocoapods'

# XCPretty gem for ci workflow output formatting
gem 'xcpretty'
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ GEM
netrc (0.11.0)
public_suffix (4.0.6)
rexml (3.2.5)
rouge (2.0.7)
ruby-macho (2.5.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
Expand All @@ -86,8 +85,6 @@ GEM
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
xcpretty (0.3.0)
rouge (~> 2.0.7)
zeitwerk (2.5.4)

PLATFORMS
Expand All @@ -97,7 +94,6 @@ PLATFORMS

DEPENDENCIES
cocoapods
xcpretty

BUNDLED WITH
2.2.22

0 comments on commit 0dc5018

Please sign in to comment.