Skip to content
Merged
Show file tree
Hide file tree
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
61 changes: 58 additions & 3 deletions .github/workflows/cron-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
fastlane/test_output/logs/*/Diagnostics/**/*.txt
fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/*

build-and-test-debug:
build-and-test-llc-debug:
name: Test LLC (Debug)
strategy:
matrix:
Expand Down Expand Up @@ -137,8 +137,61 @@ jobs:
fastlane/test_output/logs/*/Diagnostics/**/*.txt
fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/*

build-and-test-common-ui-debug:
name: Test CommonUI (Debug)
strategy:
matrix:
include:
- ios: "26.1"
device: "iPhone 17 Pro"
setup_runtime: false
- ios: "18.5"
device: "iPhone 16 Pro"
setup_runtime: false
- ios: "17.5"
device: "iPhone 15 Pro"
setup_runtime: true
- ios: "16.4"
device: "iPhone 14 Pro"
setup_runtime: true
- ios: "15.5"
device: "iPhone 13 Pro"
setup_runtime: true
fail-fast: false
runs-on: macos-15
env:
XCODE_VERSION: "26.1.1"
IOS_SIMULATOR_DEVICE: "${{ matrix.device }} (${{ matrix.ios }})"
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/bootstrap
env:
INSTALL_YEETD: true
INSTALL_IPSW: true
- uses: ./.github/actions/setup-ios-runtime
if: ${{ matrix.setup_runtime }}
timeout-minutes: 60
with:
version: ${{ matrix.ios }}
device: ${{ matrix.device }}
- name: Run Common UI Tests (Debug)
run: bundle exec fastlane test_common_ui device:"${{ env.IOS_SIMULATOR_DEVICE }}" cron:true
timeout-minutes: 100
- name: Parse xcresult
if: failure()
run: |
brew install chargepoint/xcparse/xcparse
xcparse logs fastlane/test_output/StreamChatCommonUI.xcresult fastlane/test_output/logs/
- uses: actions/upload-artifact@v4
if: failure()
with:
name: Test Data Common UI (iOS ${{ matrix.ios }})
path: |
fastlane/test_output/logs/*/Diagnostics/**/*.txt
fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/*

build-old-xcode:
name: Build LLC + UI (Old Xcode)
name: Build SDKs (Old Xcode)
runs-on: macos-14
env:
XCODE_VERSION: "16.1"
Expand All @@ -157,6 +210,8 @@ jobs:
timeout-minutes: 25
- name: Build UI
run: bundle exec fastlane test_ui device:"iPhone 16" build_for_testing:true
- name: Build Common UI
run: bundle exec fastlane test_common_ui device:"iPhone 16" build_for_testing:true
timeout-minutes: 25
- name: Build XCFrameworks
run: bundle exec fastlane build_xcframeworks
Expand All @@ -179,7 +234,7 @@ jobs:
slack:
name: Slack Report
runs-on: ubuntu-latest
needs: [build-and-test-debug, test-e2e-debug, build-old-xcode, automated-code-review]
needs: [build-and-test-llc-debug, build-and-test-common-ui-debug, test-e2e-debug, build-old-xcode, automated-code-review]
if: failure() && github.event_name == 'schedule'
steps:
- uses: 8398a7/action-slack@v3
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/smoke-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ jobs:
- name: Build UI
run: bundle exec fastlane test_ui device:"iPhone 16" build_for_testing:true
timeout-minutes: 25
- name: Build Common UI
run: bundle exec fastlane test_common_ui device:"iPhone 16" build_for_testing:true
timeout-minutes: 25

test-llc-debug:
name: Test LLC (Debug)
Expand Down Expand Up @@ -150,6 +153,37 @@ jobs:
path: |
fastlane/test_output/snapshots


test-common-ui-debug:
name: Test Common UI (Debug)
runs-on: macos-15
needs: build-test-app-and-frameworks
steps:
- uses: actions/[email protected]
- uses: actions/download-artifact@v4
with:
name: cache-derived-data
path: derived_data/Build/
- uses: ./.github/actions/bootstrap
env:
INSTALL_YEETD: true
SKIP_SWIFT_BOOTSTRAP: true
- name: Run Common UI Tests (Debug)
run: bundle exec fastlane test_common_ui device:"${{ env.IOS_SIMULATOR_DEVICE }}" skip_build:true
timeout-minutes: 60
- name: Parse xcresult
if: failure()
run: |
brew install chargepoint/xcparse/xcparse
xcparse logs fastlane/test_output/StreamChatCommonUI.xcresult fastlane/test_output/logs/
- uses: actions/upload-artifact@v4
if: failure()
with:
name: Test Data Common UI
path: |
fastlane/test_output/logs/*/Diagnostics/**/*.txt
fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/*

allure_testops_launch:
name: Launch Allure TestOps
runs-on: macos-15
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ GEM
fastlane
pry
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
fastlane-plugin-stream_actions (0.3.104)
fastlane-plugin-stream_actions (0.3.105)
xctest_list (= 1.2.1)
fastlane-plugin-versioning (0.7.1)
fastlane-plugin-xcsize (1.2.0)
Expand Down Expand Up @@ -387,7 +387,7 @@ DEPENDENCIES
fastlane-plugin-create_xcframework
fastlane-plugin-lizard
fastlane-plugin-sonarcloud_metric_kit
fastlane-plugin-stream_actions (= 0.3.104)
fastlane-plugin-stream_actions (= 0.3.105)
fastlane-plugin-versioning
fastlane-plugin-xcsize (= 1.2.0)
faye-websocket
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatCommonUI/StreamChatCommonUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// StreamChatCommonUI.h
// StreamChatCommonUI
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatCommonUI/Utils/Bundle+Extensions.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatCommonUI/Utils/UIFont+Extensions.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import UIKit
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/StreamNuke/Nuke/Caching/Cache.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

#if !os(macOS)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import CoreGraphics
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

#if canImport(UIKit)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

#if !os(watchOS)
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/StreamNuke/Nuke/ImageRequest.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Combine
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/StreamNuke/Nuke/ImageResponse.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/StreamNuke/Nuke/ImageTask.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

@preconcurrency import Combine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

@preconcurrency import Combine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import CryptoKit
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Combine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/StreamNuke/Nuke/Internal/Log.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2025 Stream.io Inc. All rights reserved.
// Copyright © 2026 Stream.io Inc. All rights reserved.
//

import Foundation
Expand Down
Loading
Loading