Merge pull request #31 from Carifio24/book-of-many-things #96
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 | |
on: [push] | |
jobs: | |
run_tests: | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
include: | |
- xcode: "13.2" | |
ios: "15.2" | |
- xcode: "13.1" | |
ios: "15.0" | |
- xcode: "12.4" | |
ios: "13.4" | |
- xcode: "11.7" | |
ios: "13.7" | |
name: "Run tests on iOS (${{ matrix.ios }})" | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_13.4.1.app && /usr/bin/xcodebuild -version | |
- name: Run tests | |
run: xcodebuild test -scheme Spellbook -project Spellbook.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 12,OS=15.5' | xcpretty && exit ${PIPESTATUS[0]} |