Skip to content

Commit 66b8d50

Browse files
authored
Try fix
1 parent 1ec9fac commit 66b8d50

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
pushd build
5252
5353
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
54+
echo "BUILD_PREFIX=$BUILD_PREFIX" >> $GITHUB_ENV
5455
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
5556
echo "PREFIX=$PREFIX" >> $GITHUB_ENV
5657
export SYSROOT_PATH=$BUILD_PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
@@ -91,9 +92,9 @@ jobs:
9192
9293
# Run tests in browsers
9394
echo "Running test_xeus_cpp in Firefox"
94-
emrun --browser="firefox" --kill_exit --browser-args="--headless" test_xeus_cpp.html
95+
${{ env.PREFIX }}/bin/emrun --browser="firefox" --kill_exit --browser-args="--headless" test_xeus_cpp.html
9596
echo "Running test_xeus_cpp in Google Chrome"
96-
emrun --browser="Google Chrome" --kill_exit --browser-args="--headless" test_xeus_cpp.html
97+
${{ env.PREFIX }}/bin/emrun --browser="Google Chrome" --kill_exit --browser-args="--headless" test_xeus_cpp.html
9798
else
9899
export ARCHITECHURE=$(uname -m)
99100
# Install Google Chrome
@@ -112,9 +113,9 @@ jobs:
112113

113114
# Run tests in browsers
114115
echo "Running test_xeus_cpp in Firefox"
115-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
116+
${{ env.PREFIX }}/bin/emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
116117
echo "Running test_xeus_cpp in Google Chrome"
117-
emrun --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
118+
${{ env.PREFIX }}/bin/emrun --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
118119
fi
119120
node test_xeus_cpp.js
120121
timeout-minutes: 4

.github/workflows/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ jobs:
234234
pushd build
235235
236236
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
237+
echo "BUILD_PREFIX=$BUILD_PREFIX" >> $GITHUB_ENV
237238
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
238239
echo "PREFIX=$PREFIX" >> $GITHUB_ENV
239240
export SYSROOT_PATH=$BUILD_PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
@@ -251,8 +252,6 @@ jobs:
251252
shell: bash -l {0}
252253
run: |
253254
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
254-
find $BUILD_PREFIX -name "*"
255-
source $BUILD_PREFIX/opt/emsdk/emsdk_env.sh
256255
set -e
257256
micromamba create -n xeus-lite-host jupyterlite-core
258257
micromamba activate xeus-lite-host
@@ -277,9 +276,9 @@ jobs:
277276
278277
# Run tests in browsers
279278
echo "Running test_xeus_cpp in Firefox"
280-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
279+
${{ env.PREFIX }}/bin/emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
281280
echo "Running test_xeus_cpp in Google Chrome"
282-
emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
281+
${{ env.PREFIX }}/bin/emrun --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
283282
else
284283
export ARCHITECHURE=$(uname -m)
285284
# Install Google Chrome
@@ -298,9 +297,9 @@ jobs:
298297

299298
# Run tests in browsers
300299
echo "Running test_xeus_cpp in Firefox"
301-
emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
300+
${{ env.PREFIX }}/bin/emrun --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
302301
echo "Running test_xeus_cpp in Google Chrome"
303-
emrun --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
302+
${{ env.PREFIX }}/bin/emrun --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless" test_xeus_cpp.html
304303
fi
305304
node test_xeus_cpp.js
306305
timeout-minutes: 4

0 commit comments

Comments
 (0)