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:
5454 if : ${{ matrix.os != 'ubuntu-latest' }}
5555 run : hatch run cov:test -s -n auto || hatch run cov:test -s --lf
5656
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
6166
6267 generate_changelog :
6368 runs-on : ubuntu-20.04
@@ -151,7 +156,7 @@ jobs:
151156 if : always()
152157 needs :
153158 - check_links
154- - test
159+ - coverage
155160 - docs
156161 - lint
157162 - check_local_actions
File renamed without changes.
Original file line number Diff line number Diff line change 11# Jupyter Releaser
22
33[ ![ 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 )
54[ ![ Documentation Status] ( https://readthedocs.org/projects/jupyter-releaser/badge/?version=latest )] ( http://jupyter-releaser.readthedocs.io/en/latest/?badge=latest )
65
76** 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 = [
5454 " sphinx-click" ,
5555]
5656test = [
57- " coverage" ,
5857 " fastapi" ,
5958 " pre-commit" ,
6059 " pytest>=7.0" ,
61- " pytest-cov" ,
6260 " pytest-mock" ,
6361 " pytest-xdist[psutil]" ,
6462 " uvicorn"
@@ -84,7 +82,7 @@ nowarn = "test -W default {args}"
8482
8583[tool .hatch .envs .cov ]
8684features = [" test" ]
87- dependencies = [" coverage" , " pytest-cov" ]
85+ dependencies = [" coverage[toml] " , " pytest-cov" ]
8886[tool .hatch .envs .cov .scripts ]
8987test = " python -m pytest -vv --cov jupyter_releaser --cov-branch --cov-report term-missing:skip-covered {args}"
9088nowarn = " test -W default {args}"
@@ -147,6 +145,10 @@ exclude_lines = [
147145" @(abc\\ .)?abstractmethod" ,
148146]
149147
148+ [tool .coverage .run ]
149+ relative_files = true
150+ source = [" jupyter_releaser" ]
151+
150152[tool .mypy ]
151153check_untyped_defs = true
152154disallow_any_generics = false
You can’t perform that action at this time.
0 commit comments