From 55106654708e985b584058c96ef44255c7ab346f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Mon, 7 Oct 2024 14:48:06 +0200 Subject: [PATCH] CI Test Error Reporting on PRs (#41) --- .github/workflows/spm-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spm-test.yml b/.github/workflows/spm-test.yml index 0e7cded..665b13b 100644 --- a/.github/workflows/spm-test.yml +++ b/.github/workflows/spm-test.yml @@ -11,10 +11,12 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable + - name: Install Dependencies + run: brew install xcbeautify - name: Checkout repository uses: actions/checkout@v4 - name: SPM Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .build key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} @@ -23,4 +25,4 @@ jobs: - name: Build run: swift build --build-tests - name: Test - run: swift test --skip-build \ No newline at end of file + run: set -o pipefail && swift test --skip-build | xcbeautify --renderer github-actions \ No newline at end of file