diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8edb423f..9f022e0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,16 +46,15 @@ jobs: destination: platform=watchOS Simulator,name=Apple Watch Series 9 (45mm),OS=10.2 - name: Apple TV destination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=17.2 - steps: - name: Checkout uses: actions/checkout@v4 - name: Build - run: xcodebuild build-for-testing -scheme TMDb -only-testing TMDbTests -destination '${{ matrix.destination }}' + run: set -o pipefail && env NSUnbufferedIO=YES && xcodebuild build-for-testing -scheme TMDb -only-testing TMDbTests -destination '${{ matrix.destination }}' | xcpretty - name: Test - run: xcodebuild test-without-building -scheme TMDb -only-testing TMDbTests -destination '${{ matrix.destination }}' + run: set -o pipefail && env NSUnbufferedIO=YES && xcodebuild test-without-building -scheme TMDb -only-testing TMDbTests -destination '${{ matrix.destination }}' | xcpretty build-test-linux: name: Build and Test (Linux)