diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fa130d5fa..e7a4f6eb0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,7 @@ jobs: name: Run unit tests (macOS) - runs-on: macos-14-xlarge + runs-on: macos-14 timeout-minutes: 30 outputs: @@ -60,12 +60,11 @@ jobs: - name: Select Xcode run: sudo xcode-select -s /Applications/Xcode_$(<.xcode-version).app/Contents/Developer - - name: Install xcbeautify - continue-on-error: true - run: brew install xcbeautify + - name: Build BSK + run: set -o pipefail && swift build | tee build-log.txt | xcbeautify - name: Run tests - run: set -o pipefail && swift test | tee build-log.txt | xcbeautify --report junit --report-path . --junit-report-filename tests.xml + run: set -o pipefail && swift test | tee -a build-log.txt | xcbeautify --report junit --report-path . --junit-report-filename tests.xml - name: Publish Unit Tests Report uses: mikepenz/action-junit-report@v3 @@ -109,7 +108,7 @@ jobs: name: Run unit tests (iOS) - runs-on: macos-14-xlarge + runs-on: macos-14 timeout-minutes: 30 steps: