Skip to content

Commit 3228d72

Browse files
committed
Merge branch 'main' into shaft-backend
2 parents f276b1e + 7425dc9 commit 3228d72

585 files changed

Lines changed: 51429 additions & 4924 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenSwiftUI Copilot Test Authoring Rules
1+
# OpenSwiftUI DualTests Rules
22

33
This file documents precise rules and templates for writing Tests and DualTests used across the OpenSwiftUI repository. Follow these rules exactly when generating new test cases.
44

File renamed without changes.

‎.github/CODEOWNERS‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Default owner for everything in the repo
2+
* @Kyle-Ye
3+
4+
# AppKit / macOS related code
5+
**/AppKit/ @Kyle-Ye @Mx-Iris
6+
**/*AppKit* @Kyle-Ye @Mx-Iris
7+
**/macOS/ @Kyle-Ye @Mx-Iris
8+
**/macos/ @Kyle-Ye @Mx-Iris
9+
**/*macOS* @Kyle-Ye @Mx-Iris
10+
**/*macos* @Kyle-Ye @Mx-Iris
11+
12+
# UIKit / iOS related code
13+
**/UIKit/ @Kyle-Ye
14+
**/*UIKit* @Kyle-Ye
15+
**/iOS/ @Kyle-Ye
16+
**/ios/ @Kyle-Ye
17+
**/*iOS* @Kyle-Ye
18+
**/*ios* @Kyle-Ye

‎.github/actions/run-uitests/action.yml‎

Lines changed: 0 additions & 59 deletions
This file was deleted.

‎.github/actions/uitests/action.yml‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,35 @@ outputs:
2020
runs:
2121
using: composite
2222
steps:
23+
- name: Install xcbeautify
24+
shell: bash
25+
run: brew install xcbeautify
26+
2327
- name: Record baseline images with SwiftUI
2428
shell: bash
2529
run: |
2630
cd Example
27-
xcodebuild test \
28-
-scheme OpenSwiftUIUITests \
29-
-configuration SwiftUIDebug \
31+
set -o pipefail
32+
NSUnbufferedIO=YES xcodebuild test \
33+
-scheme SUI_UITests \
3034
-destination "${{ inputs.destination }}" \
3135
-skipMacroValidation \
32-
-skipPackagePluginValidation || true
36+
-skipPackagePluginValidation \
37+
2>&1 | xcbeautify --renderer github-actions --preserve-unbeautified || true
3338
3439
- name: Run UI tests with OpenSwiftUI
3540
id: uitest
3641
continue-on-error: true
3742
shell: bash
3843
run: |
3944
cd Example
40-
xcodebuild test \
41-
-scheme OpenSwiftUIUITests \
42-
-configuration OpenSwiftUIDebug \
45+
set -o pipefail
46+
NSUnbufferedIO=YES xcodebuild test \
47+
-scheme OSUI_UITests \
4348
-destination "${{ inputs.destination }}" \
4449
-skipMacroValidation \
45-
-skipPackagePluginValidation 2>&1 | tee /tmp/${{ inputs.platform }}-uitest.log
50+
-skipPackagePluginValidation \
51+
2>&1 | tee /tmp/${{ inputs.platform }}-uitest.log | xcbeautify --renderer github-actions --preserve-unbeautified
4652
4753
- name: Collect failed snapshots
4854
if: steps.uitest.outcome == 'failure'

‎.github/copilot-instructions.md‎

Lines changed: 0 additions & 192 deletions
This file was deleted.

0 commit comments

Comments
 (0)