Skip to content

Commit

Permalink
🧪 Updated macos version and iPhone sim
Browse files Browse the repository at this point in the history
  • Loading branch information
joaodordio committed Dec 11, 2024
1 parent 2395405 commit 12447f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request

jobs:
run-tests-job:
runs-on: macos-13
runs-on: macos-14

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -15,7 +15,7 @@ jobs:

- name: Build and test
run: |
xcodebuild test -project swift-sdk.xcodeproj -scheme swift-sdk -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
xcodebuild test -project swift-sdk.xcodeproj -scheme swift-sdk -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
- name: CocoaPods lint
run: pod lib lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request

jobs:
run-e2e-job:
runs-on: macos-13
runs-on: macos-14

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,6 @@ class NotificationExtensionTests: XCTestCase {

XCTAssertNotNil(createdCategory)
XCTAssertEqual(createdCategory!.actions.count, 1, "Number of buttons matched")
let actionButton = createdCategory!.actions.first!
XCTAssertNil(actionButton.icon)
expectation1.fulfill()
})
}
Expand Down

0 comments on commit 12447f6

Please sign in to comment.