File tree Expand file tree Collapse file tree 2 files changed +33
-8
lines changed Expand file tree Collapse file tree 2 files changed +33
-8
lines changed Original file line number Diff line number Diff line change @@ -66,16 +66,39 @@ jobs:
66
66
if : ${{ matrix.python-version != 'pypy-3.7' }}
67
67
run : |
68
68
codecov
69
- - name : Test full install
70
- run : |
71
- python -m venv test_install
72
- ./test_install/bin/python -m pip install -U pip
73
- ./test_install/bin/python -m pip install ".[test]"
74
- pushd test_install
75
- ./bin/pytest --pyargs jupyter_server --capture=no
76
- popd
77
69
- name : Test the docs
78
70
run : |
79
71
cd docs
80
72
pip install -r doc-requirements.txt
81
73
make html SPHINXOPTS="-W"
74
+
75
+ make_sdist :
76
+ name : Make SDist
77
+ runs-on : ubuntu-latest
78
+ steps :
79
+ - uses : actions/checkout@v2
80
+ - name : Base Setup
81
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
82
+ - name : Build SDist
83
+ run : |
84
+ pip install build
85
+ python -m build --sdist
86
+ - uses : actions/upload-artifact@v2
87
+ with :
88
+ name : " sdist"
89
+ path : dist/*.tar.gz
90
+
91
+ test_sdist :
92
+ runs-on : ubuntu-latest
93
+ needs : [make_sdist]
94
+ name : Install from SDist and Test
95
+ steps :
96
+ - name : Base Setup
97
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
98
+ - name : Download sdist
99
+ uses : actions/download-artifact@v2
100
+ - name : Install From SDist
101
+ run : |
102
+ pip install --find-links=./sdist "jupyter_server[test]>=0.0.dev0"
103
+ - name : Run Test
104
+ run : pytest -vv --pyargs --timeout=300 --timeout_method=thread jupyter_server --capture=no
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ addopts = "--doctest-modules"
13
13
testpaths = [
14
14
" jupyter_server/"
15
15
]
16
+ timeout = 300
17
+ timeout_method = " thread"
16
18
17
19
[tool .jupyter-releaser ]
18
20
skip = [" check-links" ]
You can’t perform that action at this time.
0 commit comments