Merge pull request #83 from jcular/update-kingfisher-version #109
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: unittest | |
on: [push, pull_request] | |
jobs: | |
run-test: | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
destination: [ | |
'macOS', | |
'iOS Simulator,name=iPhone 14', | |
'tvOS Simulator,name=Apple TV 4K (3rd generation)', | |
'watchOS Simulator,name=Apple Watch Series 8 (45mm)' | |
] | |
swift-version: [5.0] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run tests | |
env: | |
DESTINATION: platform=${{ matrix.destination }} | |
SWIFT_VERSION: ${{ matrix.swift-version }} | |
run: | | |
xcodebuild clean test -project KingfisherWebP.xcodeproj -scheme KingfisherWebP -destination "${DESTINATION}" |