diff --git a/.github/workflows/deploy-github-page.yml b/.github/workflows/deploy-github-page.yml index 4299b865..c4a82e79 100644 --- a/.github/workflows/deploy-github-page.yml +++ b/.github/workflows/deploy-github-page.yml @@ -66,12 +66,15 @@ jobs: .. emmake make -j ${{ env.ncpus }} install + - name: Setup Node.js 24 + uses: actions/setup-node@v4 + with: + node-version: '24' + - name: Test xeus-cpp C++ Emscripten shell: bash -l {0} run: | set -e - micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus - micromamba activate xeus-lite-host cd build/test # Fresh install browsers, and run Emscripten tests in them # This is to match the Emscripten build instructions, where @@ -134,12 +137,14 @@ jobs: echo "Running test_xeus_cpp in Google Chrome" python ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" test_xeus_cpp.html fi + node --version node test_xeus_cpp.js timeout-minutes: 4 - name: Jupyter Lite integration shell: bash -l {0} run: | + micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge micromamba activate xeus-lite-host jupyter lite build \ --XeusAddon.prefix=${{ env.PREFIX }} \ diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09b04a68..7cfa6bd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -249,13 +249,16 @@ jobs: .. emmake make -j ${{ env.ncpus }} install + - name: Setup Node.js 24 + uses: actions/setup-node@v4 + with: + node-version: '24' + - name: Test xeus-cpp C++ Emscripten shell: bash -l {0} run: | export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build set -e - micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus - micromamba activate xeus-lite-host cd build/test # Fresh install browsers, and run Emscripten tests in them # This is to match the Emscripten build instructions, where @@ -323,12 +326,14 @@ jobs: echo "Running test_xeus_cpp in Google Chrome" python ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless --no-sandbox" test_xeus_cpp.html fi + node --version node test_xeus_cpp.js timeout-minutes: 4 - name: Jupyter Lite integration shell: bash -l {0} run: | + micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge micromamba activate xeus-lite-host jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }}