Optimized test files. Partially related to #43 #4
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: Fridge watchOS tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, development ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
name: Fridge warmup build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Pure swift build | |
run: swift build -v | |
tests-watchos: | |
runs-on: macos-latest | |
name: Destination -> watchOS | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Apple Watch Series 5 - 40mm | |
run: xcodebuild clean test -scheme "Fridge" -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 40mm" | |
- name: Apple Watch Series 5 - 44mm | |
run: xcodebuild clean test -scheme "Fridge" -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | |
- name: Apple Watch Series 6 - 40mm | |
run: xcodebuild clean test -scheme "Fridge" -destination "platform=watchOS Simulator,name=Apple Watch Series 6 - 40mm" | |
- name: Apple Watch Series 6 - 44mm | |
run: xcodebuild clean test -scheme "Fridge" -destination "platform=watchOS Simulator,name=Apple Watch Series 6 - 44mm" | |
- name: Apple Watch Series 7 - 41mm | |
run: xcodebuild clean test -scheme "Fridge" -destination "platform=watchOS Simulator,name=Apple Watch Series 7 - 41mm" | |
- name: Apple Watch Series 7 - 45mm | |
run: xcodebuild clean test -scheme "Fridge" -destination "platform=watchOS Simulator,name=Apple Watch Series 7 - 45mm" |