1- name : CI
1+ name : test
22
33on :
44 push :
@@ -13,8 +13,31 @@ concurrency:
1313 cancel-in-progress : true
1414
1515jobs :
16+ types :
17+ name : Types
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v3
22+ - uses : actions/setup-python@v4
23+ with :
24+ python-version : ' 3.11'
25+ cache : ' pip'
26+ - name : Install hatch
27+ run : |
28+ python3 -m pip install --upgrade pip
29+ python3 -m pip install hatch
30+ - name : Check types
31+ run : |
32+ hatch run dev.jupyterlab-noauth:typecheck
33+ hatch run dev.jupyterlab-auth:typecheck
34+ hatch run dev.jupyterlab-auth_fief:typecheck
35+ hatch run dev.retrolab-noauth:typecheck
36+ hatch run dev.retrolab-auth:typecheck
37+ hatch run dev.retrolab-auth_fief:typecheck
38+
1639 test :
17- name : Test
40+ name : Tests
1841 runs-on : ${{ matrix.os }}
1942 strategy :
2043 fail-fast : false
@@ -31,23 +54,13 @@ jobs:
3154 python-version : ${{ matrix.python-version }}
3255 cache : ' pip'
3356
34- - name : Upgrade pip
35- run : python3 -m pip install --upgrade pip
36-
37- - name : Create jupyterlab-auth dev environment
57+ - name : Install hatch
3858 run : |
39- pip install hatch
40- hatch env create dev.jupyterlab-auth
59+ python3 -m pip install --upgrade pip
60+ python3 -m pip install hatch
4161
42- - name : Check types
43- run : |
44- hatch run dev.jupyterlab-noauth:typecheck
45- hatch run dev.jupyterlab-auth:typecheck
46- hatch run dev.jupyterlab-auth_fief:typecheck
47- hatch run dev.retrolab-noauth:typecheck
48- hatch run dev.retrolab-auth:typecheck
49- hatch run dev.retrolab-auth_fief:typecheck
62+ - name : Create jupyterlab-auth dev environment
63+ run : hatch env create dev.jupyterlab-auth
5064
5165 - name : Run tests
52- run : |
53- hatch run dev.jupyterlab-auth:test
66+ run : hatch run dev.jupyterlab-auth:test
0 commit comments