Skip to content

Add focus modifier for inputfields #1600

Add focus modifier for inputfields

Add focus modifier for inputfields #1600

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Build
run: set -o pipefail && xcodebuild -scheme Orbit-Package -destination "generic/platform=iOS Simulator" | xcpretty
check-components-have-snapshots:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check components have snapshots
run: Automation/check_components_have_snapshot_tests.sh
check-docc-referenced-types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check all types are referenced in DocC
run: swift package check-documentation
test:
needs: [build, check-components-have-snapshots, check-docc-referenced-types]
strategy:
matrix:
device: ["iPhone SE (3rd generation)", "iPad (9th generation)"]
os_version: ["16.2"]
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Test
run: |
id=$(Automation/get_simulator.py "${{ matrix.device }}" "${{ matrix.os_version }}")
set -o pipefail && xcodebuild test -scheme Orbit-Package -destination "platform=iOS Simulator,id=$id,OS=${{ matrix.os_version }}" | xcpretty
regenerate_snapshots:
if: ${{ failure() }}
needs: test
uses: ./.github/workflows/regenerate_snapshots.yml
secrets:
SNAPSHOT_PUSH_TOKEN: ${{ secrets.SNAPSHOT_PUSH_TOKEN }}
REF: ${{ github.event.pull_request.head.ref }}