File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ defaults:
2121
2222jobs :
2323 build-bokehjs :
24+ name : Build bokehjs npm package
2425 runs-on : ubuntu-24.04
2526
2627 steps :
4950 name : bokehjs-artifact
5051 path : bokeh/bokehjs/bokeh-bokehjs-*
5152 if-no-files-found : error
53+
54+ test :
55+ name : Create and test examples
56+ needs : build-bokehjs
57+ runs-on : ubuntu-24.04
58+
59+ steps :
60+ - name : Checkout source
61+ uses : actions/checkout@v4
62+
63+ - name : Setup micromamba for node
64+ uses : mamba-org/setup-micromamba@v2
65+ with :
66+ environment-name : node-env
67+ create-args : >-
68+ nodejs=22
69+ init-shell : bash
70+ cache-environment : true
71+
72+ - name : Unpack bokehjs artifact
73+ uses : actions/download-artifact@v4
74+ with :
75+ name : bokehjs-artifact
76+
77+ - name :
78+ working-directory : ci
79+ run : |
80+ bash prepare_playwright.sh
Original file line number Diff line number Diff line change @@ -68,5 +68,8 @@ rm temp.json
6868# 5. Copy tests into temp example directory
6969cp -r ../../../tests .
7070
71- # Run tests
71+ # 6. Install playwright browser
72+ npx playwright install chromium
73+
74+ # 7. Run tests
7275npm run test
You can’t perform that action at this time.
0 commit comments