Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
swift-code-checks:
name: Code Tests
runs-on: macos-14
runs-on: macos-15

steps:
- uses: actions/checkout@v4
Expand All @@ -21,8 +21,8 @@ jobs:
- name: Lint code
run: swiftlint lint --config .swiftlint.yml --reporter github-actions-logging

- name: Select Xcode 15.3
run: sudo xcode-select -s /Applications/Xcode_15.3.app
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app

- name: Build UID2 for iOS
run: xcodebuild -scheme UID2 -destination "generic/platform=iOS"
Expand All @@ -31,10 +31,10 @@ jobs:
run: xcodebuild -scheme UID2 -destination "generic/platform=tvOS"

- name: Run UID2 unit tests
run: xcodebuild test -scheme UID2 -sdk iphonesimulator17.4 -destination "OS=17.4,name=iPhone 15"
run: xcodebuild test -scheme UID2 -destination "OS=18.5,name=iPhone 16"

- name: Run UID2 unit tests on tvOS
run: xcodebuild test -scheme UID2 -sdk appletvsimulator17.4 -destination "OS=17.4,name=Apple TV"
run: xcodebuild test -scheme UID2 -destination "OS=18.5,name=Apple TV"

- name: Bootstrap Prebid Dependencies
run: cd UID2Prebid && ./bootstrap.sh && cd -
Expand All @@ -43,7 +43,7 @@ jobs:
run: xcodebuild -workspace UID2Prebid/UID2Prebid.xcworkspace -scheme UID2Prebid -destination "generic/platform=iOS"

- name: Run UID2Prebid unit tests
run: xcodebuild test -workspace UID2Prebid/UID2Prebid.xcworkspace -scheme UID2Prebid -sdk iphonesimulator17.4 -destination "OS=17.4,name=iPhone 15"
run: xcodebuild test -workspace UID2Prebid/UID2Prebid.xcworkspace -scheme UID2Prebid -destination "OS=18.5,name=iPhone 16"

- name: Lint UID2 pod spec
run: pod lib lint UID2.podspec.json --verbose
Expand Down