Merge pull request #2337 from lunarway/master #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
defaults: | |
run: | |
shell: bash -leo pipefail {0} | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-tests: | |
runs-on: self-hosted | |
strategy: | |
matrix: | |
destination: [ | |
'macOS', | |
'iOS Simulator,name=iPhone 15,OS=17.5', | |
'tvOS Simulator,name=Apple TV,OS=17.5', | |
'watchOS Simulator,name=Apple Watch Series 9 (41mm),OS=10.5' | |
] | |
xcode: [ | |
'15.4', | |
'16.2', | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Gems | |
run: bundle install | |
- name: Run tests | |
env: | |
DESTINATION: platform=${{ matrix.destination }} | |
XCODE_VERSION: ${{ matrix.xcode }} | |
run: bundle exec fastlane test_ci |