Skip to content

Reintroduce CocoaPod support #15

Reintroduce CocoaPod support

Reintroduce CocoaPod support #15

Workflow file for this run

name: "Tests"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-tests:
name: Xcode ${{ matrix.xcode }}
strategy:
fail-fast: false
matrix:
xcode:
- "15.2"
- "14.3.1"
- "14.1"
include:
- xcode: "15.2"
macos: macOS-13
destination: "platform=iOS Simulator,name=iPhone 14,OS=17.2"
- xcode: "14.3.1"
macos: macOS-13
destination: "platform=iOS Simulator,name=iPhone 14,OS=16.4"
- xcode: "14.1"
macos: macOS-12
destination: "platform=iOS Simulator,name=iPhone 14,OS=16.1"
runs-on: ${{ matrix.macos }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Run Tests
run: xcodebuild clean test -scheme TwitterImagePipeline-Package -destination '${{ matrix.destination }}'
cocoapods:
name: CocoaPods
runs-on: macOS-13
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
steps:
- name: Validate the Pod
run: pod lib lint --allow-warnings