Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
job-danger:
name: Review, Lint, Verify
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6

Expand All @@ -17,4 +20,4 @@ jobs:
with:
args: --failOnErrors --no-publish-check
env:
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN || secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
deploy_docs:
name: Generate Documentation
runs-on: macos-26
runs-on: macos-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
release:
name: Publish Release
runs-on: macos-15
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v6
Expand Down
31 changes: 28 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ concurrency:
jobs:
unit-tests:
name: Unit Tests (${{ matrix.build.name }})
runs-on: macos-26
runs-on: macos-latest
timeout-minutes: 30
strategy:
matrix:
build:
- name: iOS
action: test-ios
logfiles: raw-*-ios.log
platform: iOS
simulator-prefix: IOS
device: iPhone 17 Pro
- name: macOS
action: test-macos
logfiles: raw-*-macos.log
Expand All @@ -34,25 +37,47 @@ jobs:
action: test-tvos
logfiles: raw-*-tvos.log
platform: tvOS
simulator-prefix: TVOS
device: Apple TV 4K (3rd generation)
- name: watchOS
action: test-watchos
logfiles: raw-*-watchos.log
platform: watchOS
simulator-prefix: WATCHOS
device: Apple Watch Series 11 (46mm)
- name: visionOS
action: test-visionos
logfiles: raw-*-visionos.log
platform: visionOS
simulator-prefix: VISION_OS
device: Apple Vision Pro
steps:
- name: Checkout the repository
uses: actions/checkout@v6

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "26.2"
xcode-version: latest-stable

- name: Ensuring required simulator runtimes are loaded
id: simulator
if: matrix.build.platform != null
run: scripts/ensure-runtime-loaded.sh --os-version 26.2 --platform ${{ matrix.build.platform }}
uses: kula-app/wait-for-services-action/ios-simulator@v1
with:
platform: ${{ matrix.build.platform }}
device: ${{ matrix.build.device }}
boot: true
timeout: 300

- name: Configure simulator destination
if: matrix.build.platform != null
env:
SIMULATOR_PREFIX: ${{ matrix.build.simulator-prefix }}
OS_VERSION: ${{ steps.simulator.outputs.runtime }}
DEVICE_NAME: ${{ matrix.build.device }}
run: |
echo "${SIMULATOR_PREFIX}_SIMULATOR_OS=$OS_VERSION" >> "$GITHUB_ENV"
echo "${SIMULATOR_PREFIX}_DEVICE_NAME=$DEVICE_NAME" >> "$GITHUB_ENV"

- name: Run Tests
run: make ${{ matrix.build.action }}
Expand Down
Loading