File tree Expand file tree Collapse file tree 5 files changed +15
-18
lines changed Expand file tree Collapse file tree 5 files changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,15 @@ jobs:
54
54
if : ${{ matrix.os != 'ubuntu-latest' }}
55
55
run : hatch run cov:test -s -n auto || hatch run cov:test -s --lf
56
56
57
- - name : Codecov
58
- run : |
59
- pip install codecov coverage[toml]
60
- codecov
57
+ - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
58
+
59
+ coverage :
60
+ runs-on : ubuntu-latest
61
+ needs :
62
+ - test
63
+ steps :
64
+ - uses : actions/checkout@v3
65
+ - uses : jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
61
66
62
67
generate_changelog :
63
68
runs-on : ubuntu-20.04
@@ -151,7 +156,7 @@ jobs:
151
156
if : always()
152
157
needs :
153
158
- check_links
154
- - test
159
+ - coverage
155
160
- docs
156
161
- lint
157
162
- check_local_actions
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
# Jupyter Releaser
2
2
3
3
[ ![ Build Status] ( https://github.com/jupyter-server/jupyter-releaser/actions/workflows/test.yml/badge.svg?query=branch%3Amain++ )] ( https://github.com/jupyter-server/jupyter_releaser/actions/workflows/test.yml/badge.svg?query=branch%3Amain++ )
4
- [ ![ codecov] ( https://codecov.io/gh/jupyter-server/jupyter_releaser/branch/main/graph/badge.svg?token=6OPBSEMMUG )] ( https://codecov.io/gh/jupyter-server/jupyter_releaser )
5
4
[ ![ Documentation Status] ( https://readthedocs.org/projects/jupyter-releaser/badge/?version=latest )] ( http://jupyter-releaser.readthedocs.io/en/latest/?badge=latest )
6
5
7
6
** Jupyter Releaser** contains a set of helper scripts and GitHub Actions to aid in automated releases of Python and npm packages.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -54,11 +54,9 @@ docs = [
54
54
" sphinx-click" ,
55
55
]
56
56
test = [
57
- " coverage" ,
58
57
" fastapi" ,
59
58
" pre-commit" ,
60
59
" pytest>=7.0" ,
61
- " pytest-cov" ,
62
60
" pytest-mock" ,
63
61
" pytest-xdist[psutil]" ,
64
62
" uvicorn"
@@ -84,7 +82,7 @@ nowarn = "test -W default {args}"
84
82
85
83
[tool .hatch .envs .cov ]
86
84
features = [" test" ]
87
- dependencies = [" coverage" , " pytest-cov" ]
85
+ dependencies = [" coverage[toml] " , " pytest-cov" ]
88
86
[tool .hatch .envs .cov .scripts ]
89
87
test = " python -m pytest -vv --cov jupyter_releaser --cov-branch --cov-report term-missing:skip-covered {args}"
90
88
nowarn = " test -W default {args}"
@@ -147,6 +145,10 @@ exclude_lines = [
147
145
" @(abc\\ .)?abstractmethod" ,
148
146
]
149
147
148
+ [tool .coverage .run ]
149
+ relative_files = true
150
+ source = [" jupyter_releaser" ]
151
+
150
152
[tool .mypy ]
151
153
check_untyped_defs = true
152
154
disallow_any_generics = false
You can’t perform that action at this time.
0 commit comments