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 @@ -40,10 +40,17 @@ jobs:
40
40
- name : Run the tests on pypy
41
41
if : ${{ startsWith(matrix.python-version, 'pypy') || startsWith(matrix.python-version, '3.7') }}
42
42
run : hatch run cov:nowarn
43
- - name : Upload coverage
44
- run : |
45
- pip install codecov coverage[toml]
46
- codecov
43
+ - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
44
+
45
+ coverage_report :
46
+ name : Combine & check coverage
47
+ needs : test
48
+ runs-on : ubuntu-latest
49
+ steps :
50
+ - uses : actions/checkout@v3
51
+ - uses : jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
52
+ with :
53
+ fail_under : 80
47
54
48
55
test_lint :
49
56
name : Test Lint
@@ -140,7 +147,7 @@ jobs:
140
147
tests_check : # This job does nothing and is only used for the branch protection
141
148
if : always()
142
149
needs :
143
- - test
150
+ - coverage_report
144
151
- test_lint
145
152
- check_links
146
153
- docs
Original file line number Diff line number Diff line change 1
1
# jupyterlab server
2
2
3
- [ ![ codecov] ( https://codecov.io/gh/jupyterlab/jupyterlab_server/branch/main/graph/badge.svg?token=4fjcFj91Le )] ( https://codecov.io/gh/jupyterlab/jupyterlab_server )
4
3
[ ![ Build Status] ( https://github.com/jupyterlab/jupyterlab_server/workflows/Tests/badge.svg?branch=master )] ( https://github.com/jupyterlab/jupyterlab_server/actions?query=branch%3Amaster+workflow%3A%22Tests%22 )
5
4
[ ![ Documentation Status] ( https://readthedocs.org/projects/jupyterlab_server/badge/?version=stable )] ( http://jupyterlab_server.readthedocs.io/en/stable/ )
6
5
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ openapi = [
70
70
" ruamel.yaml" ,
71
71
]
72
72
test = [
73
- " codecov" ,
74
73
" hatch" ,
75
74
" ipykernel" ,
76
75
" pytest-jupyter[server]>=0.6.2" ,
@@ -269,3 +268,7 @@ ignore-nested-functions=true
269
268
ignore-nested-classes =true
270
269
fail-under =100
271
270
exclude = [" tests" , " docs" ]
271
+
272
+ [tool .coverage .run ]
273
+ relative_files = true
274
+ source = [" jupyterlab_server" ]
You can’t perform that action at this time.
0 commit comments