Skip to content

Initial addition and single file implementation for Swift-Testing #44

Initial addition and single file implementation for Swift-Testing

Initial addition and single file implementation for Swift-Testing #44

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: iOS Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
ios-18-test:
name: iOS 18 tests
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: iOS 18
env:
scheme: ${{ 'CodableWrappers' }}
platform: ${{ 'iOS Simulator' }}
OS: ${{ '18.2' }}
device_name: ${{ 'iPhone 16 Pro' }}
run: |
xcodebuild test -scheme "$scheme" -destination "platform=$platform,OS=$OS,name=$device_name"
ios-17-test:
name: iOS 17 tests
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: iOS 17
env:
scheme: ${{ 'CodableWrappers' }}
platform: ${{ 'iOS Simulator' }}
OS: ${{ '17.5' }}
device_name: ${{ 'iPhone 15 Pro' }}
run: |
xcodebuild test -scheme "$scheme" -destination "platform=$platform,OS=$OS,name=$device_name"
ios-16-test:
name: iOS 16 tests
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: iOS 16
env:
scheme: ${{ 'CodableWrappers' }}
platform: ${{ 'iOS Simulator' }}
OS: ${{ '16.7.10' }}
device_name: ${{ 'iPhone 14 Pro' }}
run: |
xcodebuild test -scheme "$scheme" -destination "platform=$platform,OS=$OS,name=$device_name"
ios-15-test:
name: iOS 15 tests
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: iOS 15
env:
scheme: ${{ 'CodableWrappers' }}
platform: ${{ 'iOS Simulator' }}
OS: ${{ '15.8.3' }}
device_name: ${{ 'iPhone 13 Pro' }}
run: |
xcodebuild test -scheme "$scheme" -destination "platform=$platform,OS=$OS,name=$device_name"
ios-14-test:
name: iOS 14 tests
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: iOS 14
env:
scheme: ${{ 'CodableWrappers' }}
platform: ${{ 'iOS Simulator' }}
OS: ${{ '14.8.1' }}
device_name: ${{ 'iPhone 12 Pro' }}
run: |
xcodebuild test -scheme "$scheme" -destination "platform=$platform,OS=$OS,name=$device_name"