@@ -53,114 +53,114 @@ jobs:
53
53
- os : macos-latest
54
54
python-version : " 3.8"
55
55
steps :
56
- - name : Checkout
57
- uses : actions/checkout@v2
58
-
59
- - name : Base Setup
60
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
61
-
62
- - name : Install the Python dependencies
63
- run : |
64
- pip install .[test] codecov
65
-
66
- - name : Install matplotlib
67
- if : ${{ !startsWith(matrix.os, 'macos') && !startsWith(matrix.python-version, 'pypy') }}
68
- run : |
69
- pip install matplotlib || echo 'failed to install matplotlib'
70
-
71
- - name : Install alternate event loops
72
- if : ${{ !startsWith(matrix.os, 'windows') }}
73
- run : |
74
- pip install curio || echo 'ignoring curio install failure'
75
- pip install trio || echo 'ignoring trio install failure'
76
-
77
- - name : List installed packages
78
- run : |
79
- pip uninstall pipx -y
80
- pip install pipdeptree
81
- pipdeptree
82
- pipdeptree --reverse
83
- pip freeze
84
- pip check
85
-
86
- - name : Run the tests
87
- timeout-minutes : 15
88
- if : ${{ !startsWith( matrix.python-version, 'pypy' ) && !startsWith(matrix.os, 'windows') }}
89
- run : |
90
- cmd="python -m pytest -vv --cov ipykernel --cov-branch --cov-report term-missing:skip-covered"
91
- $cmd || $cmd --lf
92
-
93
- - name : Run the tests on pypy and windows
94
- timeout-minutes : 15
95
- if : ${{ startsWith( matrix.python-version, 'pypy' ) || startsWith(matrix.os, 'windows') }}
96
- run : |
97
- cmd="python -m pytest -vv"
98
- $cmd || $cmd --lf
99
-
100
- - name : Coverage
101
- run : |
102
- codecov
56
+ - name : Checkout
57
+ uses : actions/checkout@v2
58
+
59
+ - name : Base Setup
60
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
61
+
62
+ - name : Install the Python dependencies
63
+ run : |
64
+ pip install .[test] codecov
65
+
66
+ - name : Install matplotlib
67
+ if : ${{ !startsWith(matrix.os, 'macos') && !startsWith(matrix.python-version, 'pypy') }}
68
+ run : |
69
+ pip install matplotlib || echo 'failed to install matplotlib'
70
+
71
+ - name : Install alternate event loops
72
+ if : ${{ !startsWith(matrix.os, 'windows') }}
73
+ run : |
74
+ pip install curio || echo 'ignoring curio install failure'
75
+ pip install trio || echo 'ignoring trio install failure'
76
+
77
+ - name : List installed packages
78
+ run : |
79
+ pip uninstall pipx -y
80
+ pip install pipdeptree
81
+ pipdeptree
82
+ pipdeptree --reverse
83
+ pip freeze
84
+ pip check
85
+
86
+ - name : Run the tests
87
+ timeout-minutes : 15
88
+ if : ${{ !startsWith( matrix.python-version, 'pypy' ) && !startsWith(matrix.os, 'windows') }}
89
+ run : |
90
+ cmd="python -m pytest -vv --cov ipykernel --cov-branch --cov-report term-missing:skip-covered"
91
+ $cmd || $cmd --lf
92
+
93
+ - name : Run the tests on pypy and windows
94
+ timeout-minutes : 15
95
+ if : ${{ startsWith( matrix.python-version, 'pypy' ) || startsWith(matrix.os, 'windows') }}
96
+ run : |
97
+ cmd="python -m pytest -vv"
98
+ $cmd || $cmd --lf
99
+
100
+ - name : Coverage
101
+ run : |
102
+ codecov
103
103
104
104
test_docs :
105
105
runs-on : ${{ matrix.os }}
106
106
strategy :
107
107
fail-fast : false
108
108
matrix :
109
109
os : [ubuntu-latest]
110
- python-version : [ ' 3.9' ]
110
+ python-version : [" 3.9" ]
111
111
exclude :
112
- - os : windows-latest
113
- python-version : pypy-3.7
112
+ - os : windows-latest
113
+ python-version : pypy-3.7
114
114
steps :
115
- - name : Checkout
116
- uses : actions/checkout@v2
115
+ - name : Checkout
116
+ uses : actions/checkout@v2
117
117
118
- - name : Base Setup
119
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
118
+ - name : Base Setup
119
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
120
120
121
- - name : Build the docs
122
- run : |
123
- cd docs
124
- pip install -r requirements.txt
125
- make html SPHINXOPTS="-W"
121
+ - name : Build the docs
122
+ run : |
123
+ cd docs
124
+ pip install -r requirements.txt
125
+ make html SPHINXOPTS="-W"
126
126
127
- - name : Install the Python dependencies
128
- run : |
129
- pip install .
130
- pip install velin
127
+ - name : Install the Python dependencies
128
+ run : |
129
+ pip install .
130
+ pip install velin
131
131
132
- - name : Check Docstrings
133
- run : |
134
- velin . --check --compact
132
+ - name : Check Docstrings
133
+ run : |
134
+ velin . --check --compact
135
135
136
136
test_without_debugpy :
137
- runs-on : ${{ matrix.os }}-latest
137
+ runs-on : ${{ matrix.os }}
138
138
strategy :
139
139
fail-fast : false
140
140
matrix :
141
- os : [ubuntu]
142
- python-version : [ ' 3.9' ]
141
+ os : [ubuntu-latest ]
142
+ python-version : [" 3.9" ]
143
143
steps :
144
- - name : Checkout
145
- uses : actions/checkout@v2
146
-
147
- - name : Base Setup
148
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
149
-
150
- - name : Install the Python dependencies without debugpy
151
- run : |
152
- pip install .[test]
153
- pip uninstall --yes debugpy
154
-
155
- - name : List installed packages
156
- run : |
157
- pip freeze
158
-
159
- - name : Run the tests
160
- timeout-minutes : 10
161
- run : |
162
- cmd="python -m pytest -vv -raXxs"
163
- $cmd || $cmd --lf
144
+ - name : Checkout
145
+ uses : actions/checkout@v2
146
+
147
+ - name : Base Setup
148
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
149
+
150
+ - name : Install the Python dependencies without debugpy
151
+ run : |
152
+ pip install .[test]
153
+ pip uninstall --yes debugpy
154
+
155
+ - name : List installed packages
156
+ run : |
157
+ pip freeze
158
+
159
+ - name : Run the tests
160
+ timeout-minutes : 10
161
+ run : |
162
+ cmd="python -m pytest -vv -raXxs"
163
+ $cmd || $cmd --lf
164
164
165
165
test_miniumum_versions :
166
166
name : Test Minimum Versions
0 commit comments