Skip to content

Commit 1a23860

Browse files
authored
ci: Fix not failing when SPM tests fail
1 parent 8ad2d94 commit 1a23860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Use multiple cores
7777
run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
7878
- name: Build-Test
79-
run: swift test --enable-code-coverage | xcpretty -c
79+
run: set -o pipefail && env NSUnbufferedIO=YES swift test --enable-code-coverage | xcpretty -c
8080
env:
8181
DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }}
8282
- name: Prepare codecov

0 commit comments

Comments
 (0)