Skip to content

feat(ci): run app tests for multiple devices #16

feat(ci): run app tests for multiple devices

feat(ci): run app tests for multiple devices #16

Workflow file for this run

name: App CI
on: push
jobs:
ci:
name: App CI 🚀
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
device: [13, 14, 15]
iOS: [16, 17]
steps:
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: 5.10
- uses: actions/checkout@v4
- name: Build and test
run: |
cd ./app/metro-now
xcodebuild test -scheme metro-now -project metro-now.xcodeproj -destination 'platform=iOS Simulator,name=iPhone ${{ matrix.device }},OS=${{ matrix.iOS }}' | xcpretty && exit ${PIPESTATUS[0]}