Skip to content

Commit 21b5516

Browse files
committed
Fix previous commit and debug
1 parent 01561bd commit 21b5516

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/actions/Emscripten-Notebook-Tests/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ runs:
1919
run: |
2020
set -e
2121
micromamba activate xeus-lite-host
22+
env
2223
export INPUT_TEXT=""
2324
if [[ "${{ inputs.notebook }}" == "xeus-cpp-lite-demo.ipynb"* ]]; then
2425
export INPUT_TEXT="--stdin Test_Name"

.github/actions/Jupyter-serve/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
brew install coreutils
1515
export PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"
1616
fi
17-
timeout 1080 jupyter lite serve --settings-overrides=overrides.json --XeusAddon.prefix=${{ env.PREFIX }} \
17+
timeout 540 jupyter lite serve --settings-overrides=overrides.json --XeusAddon.prefix=${{ env.PREFIX }} \
1818
--XeusAddon.mounts="${{ env.PREFIX }}/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
1919
--XeusAddon.mounts="${{ env.PREFIX }}/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
2020
--contents README.md \
@@ -29,9 +29,8 @@ runs:
2929
if [[ "${{ matrix.os }}" == "macos"* ]]; then
3030
python -m pip install PyAutoGUI
3131
python scripts/enable-downloads-safari-github-ci.py
32-
else
33-
python -m pip install selenium
3432
fi
33+
python -m pip install selenium
3534
# This sleep is to force enough time for the jupyter site to build before trying
3635
# to run notebooks in it. If you try to run the notebooks before the website is
3736
# ready the ci python script will crash saying ti cannot access the url

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ jobs:
260260
shell: bash -l {0}
261261
run: |
262262
set -e
263+
env
263264
cd build/test
264265
# Fresh install browsers, and run Emscripten tests in them
265266
# This is to match the Emscripten build instructions, where
@@ -337,21 +338,21 @@ jobs:
337338
with:
338339
notebook: "xeus-cpp-lite-demo.ipynb"
339340
kernel: "C++17"
340-
timeout-minutes: 6
341+
timeout-minutes: 3
341342

342343
- name: Test C++20 kernel in xeus-cpp-lite-demo.ipynb
343344
uses: ./.github/actions/Emscripten-Notebook-Tests
344345
with:
345346
notebook: "xeus-cpp-lite-demo.ipynb"
346347
kernel: "C++20"
347-
timeout-minutes: 6
348+
timeout-minutes: 3
348349

349350
- name: Test C++23 kernel in xeus-cpp-lite-demo.ipynb
350351
uses: ./.github/actions/Emscripten-Notebook-Tests
351352
with:
352353
notebook: "xeus-cpp-lite-demo.ipynb"
353354
kernel: "C++23"
354-
timeout-minutes: 6
355+
timeout-minutes: 3
355356

356357
- name: Setup tmate session
357358
if: ${{ failure() && runner.debug }}

0 commit comments

Comments
 (0)