File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,17 @@ jobs:
65
65
if : ${{ startsWith(matrix.os, 'windows') }}
66
66
run : |
67
67
hatch run cov:nowarn || hatch run test:nowarn --lf
68
- - name : Code coverage
69
- run : |
70
- pip install codecov coverage[toml]
71
- codecov
68
+ - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
69
+
70
+ coverage :
71
+ runs-on : ubuntu-latest
72
+ needs :
73
+ - test
74
+ steps :
75
+ - uses : actions/checkout@v3
76
+ - uses : jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
77
+ with :
78
+ fail_under : 78
72
79
73
80
docs :
74
81
runs-on : windows-latest
@@ -148,7 +155,7 @@ jobs:
148
155
tests_check : # This job does nothing and is only used for the branch protection
149
156
if : always()
150
157
needs :
151
- - test
158
+ - coverage
152
159
- docs
153
160
- lint
154
161
- check_links
Original file line number Diff line number Diff line change 1
1
# Jupyter Client
2
2
3
3
[ ![ Build Status] ( https://github.com/jupyter/jupyter_client/workflows/CI/badge.svg )] ( https://github.com/jupyter/jupyter_client/actions )
4
- [ ![ codecov] ( https://codecov.io/gh/jupyter/jupyter_client/branch/main/graph/badge.svg?token=kxoFu4KnhT )] ( https://codecov.io/gh/jupyter/jupyter_client )
5
4
[ ![ Documentation Status] ( https://readthedocs.org/projects/jupyter-client/badge/?version=latest )] ( http://jupyter-client.readthedocs.io/en/latest/?badge=latest )
6
5
7
6
` jupyter_client ` contains the reference implementation of the [ Jupyter protocol] .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ Source = "https://github.com/jupyter/jupyter_client"
50
50
51
51
[project .optional-dependencies ]
52
52
test = [
53
- " codecov" ,
54
53
" coverage" ,
55
54
" ipykernel>=6.14" ,
56
55
" mypy" ,
@@ -157,6 +156,10 @@ omit = [
157
156
" jupyter_client/ssh/forward.py"
158
157
]
159
158
159
+ [tool .coverage .run ]
160
+ relative_files = true
161
+ source = [" jupyter_client" ]
162
+
160
163
[tool .mypy ]
161
164
check_untyped_defs = true
162
165
disallow_any_generics = false
You can’t perform that action at this time.
0 commit comments