Skip to content

Commit

Permalink
CI Test Error Reporting on PRs (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
stigi authored Oct 7, 2024
1 parent 0506e7c commit 5510665
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/spm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -23,4 +25,4 @@ jobs:
- name: Build
run: swift build --build-tests
- name: Test
run: swift test --skip-build
run: set -o pipefail && swift test --skip-build | xcbeautify --renderer github-actions

0 comments on commit 5510665

Please sign in to comment.