Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch PR Checks to macos-14 free runner #131

Merged
merged 2 commits into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading