File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Typing Checks
2+
3+ on :
4+ push :
5+ # IMPORTANT: update these paths when we expand type-checking coverage
6+ branches : [main]
7+ paths :
8+ - ' jupyter_server_documents/rooms/**'
9+ - ' .github/workflows/typing-checks.yml'
10+ pull_request :
11+ branches : [main]
12+ paths :
13+ - ' jupyter_server_documents/rooms/**'
14+ - ' .github/workflows/typing-checks.yml'
15+
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18+ cancel-in-progress : true
19+
20+ jobs :
21+ type-check :
22+ runs-on : ubuntu-latest
23+ strategy :
24+ matrix :
25+ python-version : ['3.10', '3.11', '3.12', '3.13']
26+
27+ steps :
28+ - name : Checkout
29+ uses : actions/checkout@v4
30+
31+ - name : Base Setup
32+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
33+ with :
34+ python_version : ${{ matrix.python-version }}
35+
36+ - name : Install dependencies
37+ run : |
38+ python -m pip install mypy
39+ python -m pip install -e .[test]
40+
41+ - name : Type-check `rooms` module
42+ run : |
43+ mypy jupyter_server_documents/rooms
You can’t perform that action at this time.
0 commit comments