FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sim/.github/workflows/desktop-e2e.yml at main · simstudioai/sim · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
simstudioai
/
sim
Public
Notifications
You must be signed in to change notification settings
Fork
3.8k
Star
29.5k
Code
Issues
119
Pull requests
178
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sim
/
.github
/
workflows
/
desktop-e2e.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
147 lines (124 loc) · 4.43 KB
Breadcrumbs
sim
/
.github
/
workflows
/
desktop-e2e.yml
Copy path
File metadata and controls
147 lines (124 loc) · 4.43 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
name
:
Desktop E2E
#
Smoke coverage of the real Electron shell on desktop changes, plus a weekly
#
advisory canary against electron@latest so Chromium-cadence breakage surfaces
#
before an upgrade is attempted.
on
:
pull_request
:
paths
:
-
'
.github/workflows/desktop-e2e.yml
'
-
'
.github/workflows/desktop-release.yml
'
-
'
apps/desktop/**
'
-
'
apps/sim/public/brand/fonts/**
'
-
'
packages/desktop-bridge/**
'
-
'
packages/browser-protocol/**
'
-
'
packages/terminal-protocol/**
'
-
'
packages/logger/**
'
-
'
packages/security/**
'
-
'
packages/tsconfig/**
'
-
'
packages/utils/**
'
-
'
bun.lock
'
-
'
package.json
'
schedule
:
-
cron
:
'
23 9 * * 1
'
workflow_dispatch
:
permissions
:
contents
:
read
concurrency
:
group
:
desktop-e2e-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
e2e-pinned
:
name
:
E2E (pinned)
if
:
github.event_name != 'schedule'
runs-on
:
macos-26
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
#
v6
-
name
:
Setup Bun
uses
:
oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
#
v2
with
:
bun-version
:
1.3.14
-
name
:
Install dependencies
run
:
bun install --frozen-lockfile
-
name
:
Bundle main and preload
working-directory
:
apps/desktop
run
:
bun run build
-
name
:
Run Playwright _electron smoke suite
working-directory
:
apps/desktop
run
:
bunx playwright test
-
name
:
Upload test results
if
:
failure()
uses
:
actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
#
v4
with
:
name
:
desktop-e2e-results-pinned
path
:
apps/desktop/test-results
retention-days
:
7
e2e-latest-canary
:
name
:
E2E (electron@latest canary)
if
:
github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on
:
macos-26
continue-on-error
:
true
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
#
v6
-
name
:
Setup Bun
uses
:
oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
#
v2
with
:
bun-version
:
1.3.14
-
name
:
Install dependencies
run
:
bun install --frozen-lockfile
-
name
:
Switch to electron@latest
working-directory
:
apps/desktop
run
:
bun add --no-save -d electron@latest
-
name
:
Bundle main and preload
working-directory
:
apps/desktop
run
:
bun run build
-
name
:
Run Playwright _electron smoke suite
working-directory
:
apps/desktop
run
:
bunx playwright test
-
name
:
Upload test results
if
:
failure()
uses
:
actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
#
v4
with
:
name
:
desktop-e2e-results-latest
path
:
apps/desktop/test-results
retention-days
:
7
package-smoke
:
name
:
Unsigned package smoke
if
:
github.event_name != 'schedule'
runs-on
:
macos-26
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
#
v6
-
name
:
Setup Bun
uses
:
oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
#
v2
with
:
bun-version
:
1.3.14
-
name
:
Setup Node
uses
:
actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
#
v4
with
:
node-version
:
22
-
name
:
Install dependencies
run
:
bun install --frozen-lockfile
-
name
:
Bundle and package unsigned
working-directory
:
apps/desktop
env
:
CSC_IDENTITY_AUTO_DISCOVERY
:
'
false
'
run
:
|
bun run build
bunx electron-builder --mac dir --universal --publish never \
-c.mac.identity=- -c.mac.hardenedRuntime=false
-
name
:
Run packaged Electron smoke suite
working-directory
:
apps/desktop
run
:
|
APP_BUNDLE="$(find release -maxdepth 2 -name '*.app' -print -quit)"
if [ -z "$APP_BUNDLE" ]; then
echo "::error::Packaged app bundle was not found."
exit 1
fi
EXECUTABLE="$(find "$APP_BUNDLE/Contents/MacOS" -maxdepth 1 -type f -perm -111 -print -quit)"
if [ -z "$EXECUTABLE" ]; then
echo "::error::Packaged app executable was not found."
exit 1
fi
SIM_DESKTOP_EXECUTABLE="$EXECUTABLE" bunx playwright test e2e/packaged-smoke.spec.ts
Back
|
FazBrowse Home
|
New Git URL