We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9a84b7 + 2a599ce commit f3bf1b1Copy full SHA for f3bf1b1
.github/workflows/pr-linux-test.yml
@@ -155,6 +155,19 @@ jobs:
155
env:
156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157
158
+ - name: Configure Electron sandbox permissions
159
+ if: ${{ inputs.electron_tests || inputs.remote_tests }}
160
+ run: |
161
+ set -e
162
+ ELECTRON_ROOT=.build/electron
163
+ if [ -f "$ELECTRON_ROOT/chrome-sandbox" ]; then
164
+ sudo chown root "$ELECTRON_ROOT/chrome-sandbox"
165
+ sudo chmod 4755 "$ELECTRON_ROOT/chrome-sandbox"
166
+ stat "$ELECTRON_ROOT/chrome-sandbox"
167
+ else
168
+ echo "Warning: chrome-sandbox not found at $ELECTRON_ROOT/chrome-sandbox"
169
+ fi
170
+
171
- name: 🧪 Run unit tests (Electron)
172
if: ${{ inputs.electron_tests }}
173
timeout-minutes: 15
0 commit comments