Skip to content

Commit 956cb81

Browse files
authored
Fix
1 parent 9f3d00f commit 956cb81

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

.github/workflows/deploy-github-page.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ jobs:
9696
echo "Running test_xeus_cpp in Google Chrome"
9797
${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="Google Chrome" --kill_exit --browser-args="--headless" test_xeus_cpp.html
9898
else
99-
export ARCHITECHURE=$(uname -m)
10099
# Install Google Chrome
101100
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
102101
dpkg-deb -x google-chrome-stable_current_amd64.deb $PWD/chrome
@@ -115,7 +114,7 @@ jobs:
115114
echo "Running test_xeus_cpp in Firefox"
116115
${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
117116
echo "Running test_xeus_cpp in Google Chrome"
118-
${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
117+
${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" test_xeus_cpp.html
119118
fi
120119
node test_xeus_cpp.js
121120
timeout-minutes: 4

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ jobs:
280280
echo "Running test_xeus_cpp in Google Chrome"
281281
python ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
282282
else
283-
export ARCHITECHURE=$(uname -m)
284283
# Install Google Chrome
285284
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
286285
dpkg-deb -x google-chrome-stable_current_amd64.deb $PWD/chrome

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ It is possible to run the Emscripten tests in a headless browser. We will run ou
119119
cd
120120

121121
echo "Running test_xeus_cpp in Firefox"
122-
emrun --browser="firefox" --kill_exit --browser-args="--headless" test_xeus_cpp.html
122+
python $BUILD_PREFIX/bin/emrun.py --browser="firefox" --kill_exit --browser-args="--headless" test_xeus_cpp.html
123123
echo "Running test_xeus_cpp in Google Chrome"
124-
emrun --browser="Google Chrome" --kill_exit --browser-args="--headless" test_xeus_cpp.html
124+
python $BUILD_PREFIX/bin/emrun.py --browser="Google Chrome" --kill_exit --browser-args="--headless" test_xeus_cpp.html
125125
```
126126

127127
To do this on Ubuntu x86 execute the following
@@ -140,9 +140,9 @@ To do this on Ubuntu x86 execute the following
140140
cd -
141141

142142
echo "Running test_xeus_cpp in Firefox"
143-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
143+
python $BUILD_PREFIX/bin/emrun.py --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
144144
echo "Running test_xeus_cpp in Google Chrome"
145-
emrun --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
145+
python $BUILD_PREFIX/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" test_xeus_cpp.html
146146
```
147147

148148
To build Jupyter Lite with this kernel without creating a website you can execute the following

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ It is possible to run the Emscripten tests in a headless browser. We will run ou
120120
cd -
121121

122122
echo "Running test_xeus_cpp in Firefox"
123-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
123+
python $BUILD_PREFIX/bin/emrun.py --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
124124
echo "Running test_xeus_cpp in Google Chrome"
125-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
125+
python python $BUILD_PREFIX/bin/emrun.py --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
126126
```
127127

128128
To do this on Ubuntu x86 execute the following
@@ -141,9 +141,9 @@ To do this on Ubuntu x86 execute the following
141141
cd -
142142

143143
echo "Running test_xeus_cpp in Firefox"
144-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
144+
python $BUILD_PREFIX/bin/emrun.py --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
145145
echo "Running test_xeus_cpp in Google Chrome"
146-
emrun --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
146+
python $BUILD_PREFIX/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" test_xeus_cpp.html
147147
```
148148

149149
To build Jupyter Lite with this kernel without creating a website you can execute the following

docs/source/InstallationAndUsage.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ It is possible to run the Emscripten tests in a headless browser. We will run ou
108108
cd -
109109
110110
echo "Running test_xeus_cpp in Firefox"
111-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
111+
python $BUILD_PREFIX/bin/emrun.py --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
112112
echo "Running test_xeus_cpp in Google Chrome"
113-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
113+
python $BUILD_PREFIX/bin/emrun.py --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
114114
115115
To do this on Ubuntu x86 execute the following
116116

@@ -129,9 +129,9 @@ To do this on Ubuntu x86 execute the following
129129
cd -
130130
131131
echo "Running test_xeus_cpp in Firefox"
132-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
132+
python $BUILD_PREFIX/bin/emrun.py --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
133133
echo "Running test_xeus_cpp in Google Chrome"
134-
emrun --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
134+
python $BUILD_PREFIX/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" test_xeus_cpp.html
135135
136136
To build Jupyter Lite with this kernel without creating a website you can execute the following
137137

0 commit comments

Comments
 (0)