Skip to content

Commit 0e5280e

Browse files
committed
Enable Github Actions renderer for xcbeautify
1 parent 821029f commit 0e5280e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/unit_tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
with:
3333
submodules: true
3434
- name: Build
35-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift -destination "platform=macos,arch=arm64" -enableCodeCoverage YES | xcbeautify
35+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift -destination "platform=macos,arch=arm64" -enableCodeCoverage YES 2>&1 | xcbeautify --renderer github-actions
3636
- name: Test
37-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift -destination "platform=macos,arch=arm64" -enableCodeCoverage YES | xcbeautify
37+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift -destination "platform=macos,arch=arm64" -enableCodeCoverage YES 2>&1 | xcbeautify --renderer github-actions
3838
- name: Codecov upload
3939
uses: codecov/codecov-action@v4
4040
with:
@@ -54,9 +54,9 @@ jobs:
5454
with:
5555
submodules: true
5656
- name: Build
57-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift -destination "platform=iOS Simulator,OS=latest,name=iPhone 15" | xcbeautify
57+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift -destination "platform=iOS Simulator,OS=latest,name=iPhone 15" 2>&1 | xcbeautify --renderer github-actions
5858
- name: Test
59-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift -destination "platform=iOS Simulator,OS=latest,name=iPhone 15" | xcbeautify
59+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift -destination "platform=iOS Simulator,OS=latest,name=iPhone 15" 2>&1 | xcbeautify --renderer github-actions
6060

6161
tvOS:
6262
name: tvOS
@@ -72,6 +72,6 @@ jobs:
7272
with:
7373
submodules: true
7474
- name: Build
75-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift -destination "platform=tvOS Simulator,OS=latest,name=Apple TV" | xcbeautify
75+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift -destination "platform=tvOS Simulator,OS=latest,name=Apple TV" 2>&1 | xcbeautify --renderer github-actions
7676
- name: Test
77-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift -destination "platform=tvOS Simulator,OS=latest,name=Apple TV" | xcbeautify
77+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift -destination "platform=tvOS Simulator,OS=latest,name=Apple TV" 2>&1 | xcbeautify --renderer github-actions

0 commit comments

Comments
 (0)