-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9a3c8f
commit 4e36f3a
Showing
5 changed files
with
450 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
INSTALL_YEETD: true | ||
SKIP_MINT_BOOTSTRAP: true | ||
- name: Run LLC Tests (Debug) | ||
run: bundle exec fastlane test device:"${{ env.IOS_SIMULATOR_DEVICE }}" | ||
run: bundle exec fastlane test_unified device:"${{ env.IOS_SIMULATOR_DEVICE }}" | ||
timeout-minutes: 40 | ||
env: | ||
XCODE_VERSION: "15.2" # the most stable pair of Xcode | ||
|
@@ -85,71 +85,71 @@ jobs: | |
fastlane/test_output/logs/*/Diagnostics/**/*.txt | ||
fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/* | ||
test-swiftui-debug: | ||
name: Test SwiftUI (Debug) | ||
runs-on: macos-14 | ||
needs: test-llc-debug | ||
if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'false' }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/bootstrap | ||
env: | ||
INSTALL_YEETD: true | ||
SKIP_MINT_BOOTSTRAP: true | ||
SKIP_BREW_BOOTSTRAP: true | ||
- name: Run UI Tests (Debug) | ||
run: bundle exec fastlane test_swiftui device:"${{ env.IOS_SIMULATOR_DEVICE }}" record:${{ github.event.inputs.swiftui_snapshots }} | ||
timeout-minutes: 40 | ||
env: | ||
XCODE_VERSION: "15.2" # the most stable pair of Xcode | ||
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)" # and iOS | ||
- name: Parse xcresult | ||
if: failure() | ||
run: | | ||
brew install chargepoint/xcparse/xcparse | ||
xcparse screenshots fastlane/test_output/StreamVideoSwiftUI.xcresult fastlane/test_output/snapshots --test | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: SwiftUI Test Data | ||
path: | | ||
~/Library/Logs/scan | ||
fastlane/test_output/snapshots | ||
# test-swiftui-debug: | ||
# name: Test SwiftUI (Debug) | ||
# runs-on: macos-14 | ||
# needs: test-llc-debug | ||
# if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'false' }} | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: ./.github/actions/bootstrap | ||
# env: | ||
# INSTALL_YEETD: true | ||
# SKIP_MINT_BOOTSTRAP: true | ||
# SKIP_BREW_BOOTSTRAP: true | ||
# - name: Run UI Tests (Debug) | ||
# run: bundle exec fastlane test_swiftui device:"${{ env.IOS_SIMULATOR_DEVICE }}" record:${{ github.event.inputs.swiftui_snapshots }} | ||
# timeout-minutes: 40 | ||
# env: | ||
# XCODE_VERSION: "15.2" # the most stable pair of Xcode | ||
# IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)" # and iOS | ||
# - name: Parse xcresult | ||
# if: failure() | ||
# run: | | ||
# brew install chargepoint/xcparse/xcparse | ||
# xcparse screenshots fastlane/test_output/StreamVideoSwiftUI.xcresult fastlane/test_output/snapshots --test | ||
# - uses: actions/upload-artifact@v4 | ||
# if: failure() | ||
# with: | ||
# name: SwiftUI Test Data | ||
# path: | | ||
# ~/Library/Logs/scan | ||
# fastlane/test_output/snapshots | ||
|
||
test-uikit-debug: | ||
name: Test UIKit (Debug) | ||
runs-on: macos-14 | ||
needs: test-swiftui-debug | ||
if: ${{ github.event_name != 'push' && github.event.inputs.uikit_snapshots != 'false' }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/bootstrap | ||
env: | ||
INSTALL_YEETD: true | ||
SKIP_MINT_BOOTSTRAP: true | ||
SKIP_BREW_BOOTSTRAP: true | ||
- name: Run UI Tests (Debug) | ||
run: bundle exec fastlane test_uikit device:"${{ env.IOS_SIMULATOR_DEVICE }}" record:${{ github.event.inputs.uikit_snapshots }} | ||
timeout-minutes: 40 | ||
env: | ||
XCODE_VERSION: "15.2" # the most stable pair of Xcode | ||
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)" # and iOS | ||
- name: Parse xcresult | ||
if: failure() | ||
run: | | ||
brew install chargepoint/xcparse/xcparse | ||
xcparse screenshots fastlane/test_output/StreamVideoUIKit.xcresult fastlane/test_output/snapshots --test | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: UIKit Test Data | ||
path: | | ||
~/Library/Logs/scan | ||
fastlane/test_output/snapshots | ||
# test-uikit-debug: | ||
# name: Test UIKit (Debug) | ||
# runs-on: macos-14 | ||
# needs: test-swiftui-debug | ||
# if: ${{ github.event_name != 'push' && github.event.inputs.uikit_snapshots != 'false' }} | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: ./.github/actions/bootstrap | ||
# env: | ||
# INSTALL_YEETD: true | ||
# SKIP_MINT_BOOTSTRAP: true | ||
# SKIP_BREW_BOOTSTRAP: true | ||
# - name: Run UI Tests (Debug) | ||
# run: bundle exec fastlane test_uikit device:"${{ env.IOS_SIMULATOR_DEVICE }}" record:${{ github.event.inputs.uikit_snapshots }} | ||
# timeout-minutes: 40 | ||
# env: | ||
# XCODE_VERSION: "15.2" # the most stable pair of Xcode | ||
# IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)" # and iOS | ||
# - name: Parse xcresult | ||
# if: failure() | ||
# run: | | ||
# brew install chargepoint/xcparse/xcparse | ||
# xcparse screenshots fastlane/test_output/StreamVideoUIKit.xcresult fastlane/test_output/snapshots --test | ||
# - uses: actions/upload-artifact@v4 | ||
# if: failure() | ||
# with: | ||
# name: UIKit Test Data | ||
# path: | | ||
# ~/Library/Logs/scan | ||
# fastlane/test_output/snapshots | ||
|
||
automated-code-review: | ||
name: Automated Code Review | ||
|
@@ -212,7 +212,7 @@ jobs: | |
build-test-app-and-frameworks: | ||
name: Build Test App and Frameworks | ||
runs-on: macos-14 | ||
needs: test-uikit-debug | ||
needs: test-llc-debug | ||
if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'true' && github.event.inputs.uikit_snapshots != 'true' }} | ||
steps: | ||
- uses: actions/[email protected] | ||
|
Oops, something went wrong.