Skip to content

Commit 5b87184

Browse files
authored
Test jupyter serve ci
1 parent c7a3175 commit 5b87184

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,17 @@ jobs:
212212
init-shell: >-
213213
${{ matrix.micromamba_shell_init }}
214214
environment-name: xeus-cpp-wasm-build
215-
215+
216+
- name: install timeout (maxos)
217+
if: ${{ runner.os != 'windows' }}
218+
run: |
219+
os="${{ matrix.os }}"
220+
if [[ "${os}" == "macos"* ]]; then
221+
echo "ncpus=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
222+
else
223+
brew install --cask time-out
224+
fi
225+
216226
- name: Setup default Build Type on *nux
217227
if: ${{ runner.os != 'windows' }}
218228
run: |
@@ -266,6 +276,7 @@ jobs:
266276
micromamba activate xeus-lite-host
267277
python -m pip install jupyterlite-xeus
268278
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }}
279+
timeout 60 jupyter lite serve
269280
270281
- name: Setup tmate session
271282
if: ${{ failure() && runner.debug }}

0 commit comments

Comments
 (0)