Skip to content

Merge pull request #81 from lukaskasa/main #98

Merge pull request #81 from lukaskasa/main

Merge pull request #81 from lukaskasa/main #98

Workflow file for this run

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}"