Skip to content

Commit

Permalink
Fix docs error
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Apr 22, 2024
1 parent 1551fb7 commit 1a51d76
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ jobs:
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
timeout-minutes: 90
steps:
- if: contains(matrix.os, 'ubuntu')
run: |
sudo apt-get install libglu1-mesa
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24
sleep 3
- uses: holoviz-dev/holoviz_tasks/pixi_install@pixi
if: needs.setup.outputs.code_change == 'true'
with:
Expand Down Expand Up @@ -200,7 +205,7 @@ jobs:
id: install
- name: launch jupyter
run: |
# jupyter server extension enable panel.io.jupyter_server_extension --sys-prefix
pixi run -e ${{ matrix.environment }} jupyter server extension enable panel.io.jupyter_server_extension --sys-prefix
(pixi run -e ${{ matrix.environment }} jupyter lab --config panel/tests/ui/jupyter_server_test_config.py --port 8887 > /tmp/jupyterlab_server.log 2>&1) &
- name: build jupyterlite
run: |
Expand Down
2 changes: 1 addition & 1 deletion panel/tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ def test_markdown_codeblocks(file, tmp_path):
with open(mod, 'w', encoding='utf-8') as f:
f.writelines(lines)

runpy.run_path(mod)
runpy.run_path(str(mod))

0 comments on commit 1a51d76

Please sign in to comment.