Skip to content

Commit

Permalink
Switch PR Checks to macos-14 free runner (#131)
Browse files Browse the repository at this point in the history
* switch PR Checks to macos-14 free runner

* attempt fix
  • Loading branch information
nshuba authored Aug 23, 2024
1 parent df01089 commit 6133e7d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test Implementations
# If this job is failing, check if there were any updates to
# https://github.com/duckduckgo/BrowserServicesKit/blob/main/.github/workflows/pr.yml

on:
push:
Expand Down Expand Up @@ -64,7 +66,7 @@ jobs:
BrowserServicesKit:
name: BSK unit tests

runs-on: macos-14-xlarge
runs-on: macos-14
timeout-minutes: 30

steps:
Expand Down Expand Up @@ -101,13 +103,13 @@ jobs:
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_$(<BrowserServicesKit/.xcode-version).app/Contents/Developer

- name: Install xcbeautify
continue-on-error: true
run: brew install xcbeautify
- name: Build BSK
working-directory: ./BrowserServicesKit
run: set -o pipefail && swift build | tee build-log.txt | xcbeautify

- name: Run tests
working-directory: ./BrowserServicesKit
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@v4
Expand Down

0 comments on commit 6133e7d

Please sign in to comment.