Skip to content

Commit

Permalink
[Internal] Move Old SDK tests to 13 - Currently disabled (#2262)
Browse files Browse the repository at this point in the history
* Move 'old SDK' regression to 13

* Disable Xcode 13 regression until Xcode 14 is used
  • Loading branch information
polqf committed Sep 1, 2022
1 parent 8878168 commit 86abebf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/smoke-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,27 +164,29 @@ jobs:
run: echo "::set-output name=launch_id::${{env.LAUNCH_ID}}"
if: env.LAUNCH_ID != ''

build-xcode12:
name: Build LLC + UI (Xcode 12)
runs-on: macos-11
if: ${{ github.event_name != 'push' }}
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/bootstrap
- name: Build LLC (Xcode 12)
run: bundle exec fastlane test device:"iPhone 12" build_for_testing:true
timeout-minutes: 25
env:
XCODE_VERSION: "12.5.1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT: ${{ toJson(github.event) }}
- name: Build UI (Xcode 12)
run: bundle exec fastlane test_ui device:"iPhone 12" build_for_testing:true
timeout-minutes: 25
env:
XCODE_VERSION: "12.5.1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT: ${{ toJson(github.event) }}
# build-xcode13:
# name: Build LLC + UI (Xcode 13)
# runs-on: macos-12
# if: ${{ github.event_name != 'push' }}
# steps:
# - uses: actions/checkout@v2
# - uses: ./.github/actions/bootstrap
# - name: List Xcode versions xcversion sees
# run: mdfind "kMDItemCFBundleIdentifier = 'com.apple.dt.Xcode'"
# - name: Build LLC (Xcode 13)
# run: bundle exec fastlane test device:"iPhone 13" build_for_testing:true
# timeout-minutes: 25
# env:
# XCODE_VERSION: "13"
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GITHUB_EVENT: ${{ toJson(github.event) }}
# - name: Build UI (Xcode 13)
# run: bundle exec fastlane test_ui device:"iPhone 13" build_for_testing:true
# timeout-minutes: 25
# env:
# XCODE_VERSION: "13"
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GITHUB_EVENT: ${{ toJson(github.event) }}

build-apps:
name: Build Sample + Demo Apps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2170,8 +2170,8 @@ final class ChannelController_Tests: XCTestCase {

waitForExpectations(timeout: 0.1)

let paginatonParameter = env.channelUpdater?.update_channelQuery?.pagination?.parameter
guard case let .lessThan(paginationMessageId) = paginatonParameter else {
let paginationParameter = env.channelUpdater?.update_channelQuery?.pagination?.parameter
guard case let .lessThan(paginationMessageId) = paginationParameter else {
XCTFail("Missing pagination parameter")
return
}
Expand Down Expand Up @@ -2212,8 +2212,8 @@ final class ChannelController_Tests: XCTestCase {

waitForExpectations(timeout: 0.1)

let paginatonParameter = env.channelUpdater?.update_channelQuery?.pagination?.parameter
guard case let .lessThan(paginationMessageId) = paginatonParameter else {
let paginationParameter = env.channelUpdater?.update_channelQuery?.pagination?.parameter
guard case let .lessThan(paginationMessageId) = paginationParameter else {
XCTFail("Missing pagination parameter")
return
}
Expand Down

0 comments on commit 86abebf

Please sign in to comment.