File tree 4 files changed +14
-15
lines changed
4 files changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,15 @@ jobs:
32
32
- name : Run the tests
33
33
run : |
34
34
hatch run cov:test || hatch run test:test --lf
35
- - name : Coverage
36
- run : |
37
- pip install codecov coverage[toml]
38
- codecov
35
+ - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
36
+
37
+ coverage :
38
+ runs-on : ubuntu-latest
39
+ needs :
40
+ - test
41
+ steps :
42
+ - uses : actions/checkout@v3
43
+ - uses : jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
39
44
40
45
check_release :
41
46
runs-on : ubuntu-latest
@@ -134,7 +139,7 @@ jobs:
134
139
tests_check : # This job does nothing and is only used for the branch protection
135
140
if : always()
136
141
needs :
137
- - test
142
+ - coverage
138
143
- test_lint
139
144
- docs
140
145
- check_release
Original file line number Diff line number Diff line change 1
1
# Terminado
2
2
3
3
[ ![ Build Status] ( https://github.com/jupyter/terminado/actions/workflows/test.yml/badge.svg?query=branch%3Amain++ )] ( https://github.com/jupyter/terminado/actions/workflows/test.yml/badge.svg?query=branch%3Amain++ )
4
- [ ![ codecov] ( https://codecov.io/gh/jupyter/terminado/branch/main/graph/badge.svg?token=Ih2XfDqyD1 )] ( https://codecov.io/gh/jupyter/terminado )
5
4
[ ![ Documentation Status] ( https://readthedocs.org/projects/terminado/badge/?version=latest )] ( http://terminado.readthedocs.io/en/latest/?badge=latest )
6
5
7
6
This is a [ Tornado] ( http://tornadoweb.org/ ) websocket backend for the
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ exclude_lines = [
93
93
" @(abc\\ .)?abstractmethod" ,
94
94
]
95
95
96
+ [tool .coverage .run ]
97
+ relative_files = true
98
+ source = [" terminado" ]
99
+
96
100
[tool .mypy ]
97
101
check_untyped_defs = true
98
102
disallow_incomplete_defs = true
You can’t perform that action at this time.
0 commit comments