Skip to content
Open
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
82 changes: 82 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Test Layers

on:
pull_request:
push:
branches:
- main

jobs:
unit:
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_26.0.app/Contents/Developer

- name: Make scripts executable
run: chmod +x scripts/*.sh

- name: Run unit tests
run: ./scripts/test-unit.sh

- name: Upload unit artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: unit-test-artifacts
path: |
.build/tests/logs
.build/tests/results

integration:
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_26.0.app/Contents/Developer

- name: Make scripts executable
run: chmod +x scripts/*.sh

- name: Run integration tests
run: ./scripts/test-integration.sh

- name: Upload integration artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-test-artifacts
path: |
.build/tests/logs
.build/tests/results

ui:
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_26.0.app/Contents/Developer

- name: Make scripts executable
run: chmod +x scripts/*.sh

- name: Run UI tests
env:
UI_TEST_TIMEOUT_SECONDS: 240
run: ./scripts/test-ui.sh

- name: Upload UI artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: ui-test-artifacts
path: |
.build/tests/logs
.build/tests/results
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ Pods/
*~
*.orig
*.log
.factory/
Loading