5
5
branches : ['main']
6
6
pull_request :
7
7
schedule :
8
- - cron : " 0 0 * * *"
8
+ - cron : ' 0 0 * * *'
9
9
10
10
permissions :
11
- contents :
12
- write
11
+ contents : write
13
12
14
13
concurrency :
15
14
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
@@ -26,11 +25,11 @@ jobs:
26
25
build :
27
26
runs-on : ubuntu-latest
28
27
steps :
29
- - name : Checkout
30
- uses : actions/checkout@v4
28
+ - name : Checkout
29
+ uses : actions/checkout@v4
31
30
32
- - name : Build
33
- uses : ./.github/actions/build-dist
31
+ - name : Build
32
+ uses : ./.github/actions/build-dist
34
33
35
34
test :
36
35
runs-on : ubuntu-latest
@@ -41,28 +40,28 @@ jobs:
41
40
# used by the jupyterlab/maintainer-tools base-setup action
42
41
python-version : ['3.8', '3.9', '3.10', '3.11', '3.12']
43
42
steps :
44
- - name : Checkout
45
- uses : actions/checkout@v4
43
+ - name : Checkout
44
+ uses : actions/checkout@v4
46
45
47
- - name : Base Setup
48
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
46
+ - name : Base Setup
47
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
49
48
50
- - name : Test the package
51
- run : hatch run cov:test
49
+ - name : Test the package
50
+ run : hatch run cov:test
52
51
53
- - name : JavaScript tests
54
- run : |
55
- hatch run js_test
52
+ - name : JavaScript tests
53
+ run : |
54
+ hatch run js_test
56
55
57
- - name : Integration Tests
58
- run : |
59
- pip install .
60
- cd
61
- jupyter labextension list 2>&1 | grep -ie "@jupyter-notebook/lab-extension.*enabled.*ok" -
62
- jupyter server extension list 2>&1 | grep -ie "notebook.*enabled" -
63
- python -m jupyterlab.browser_check
56
+ - name : Integration Tests
57
+ run : |
58
+ pip install .
59
+ cd
60
+ jupyter labextension list 2>&1 | grep -ie "@jupyter-notebook/lab-extension.*enabled.*ok" -
61
+ jupyter server extension list 2>&1 | grep -ie "notebook.*enabled" -
62
+ python -m jupyterlab.browser_check
64
63
65
- - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
64
+ - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
66
65
67
66
coverage :
68
67
runs-on : ubuntu-latest
@@ -176,17 +175,17 @@ jobs:
176
175
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
177
176
- uses : jupyterlab/maintainer-tools/.github/actions/check-links@v1
178
177
with :
179
- ignore_links : " https://playwright.dev/docs/test-cli/ https://blog.jupyter.org/the-big-split-9d7b88a031a7 https://blog.jupyter.org/jupyter-ascending-1bf5b362d97e https://mybinder.org/v2/gh/jupyter/notebook/main"
180
- ignore_glob : " ui-tests/test/notebooks/*"
178
+ ignore_links : ' https://playwright.dev/docs/test-cli/ https://blog.jupyter.org/the-big-split-9d7b88a031a7 https://blog.jupyter.org/jupyter-ascending-1bf5b362d97e https://mybinder.org/v2/gh/jupyter/notebook/main'
179
+ ignore_glob : ' ui-tests/test/notebooks/*'
181
180
182
181
test_lint :
183
182
name : Test Lint
184
183
runs-on : ubuntu-latest
185
184
steps :
186
185
- uses : actions/checkout@v4
187
186
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
188
- - name : Run Linters
189
- run : |
187
+ - name : Run Linters
188
+ run : |
190
189
hatch run typing:test
191
190
hatch run lint:style
192
191
pipx run interrogate -v .
0 commit comments