File tree Expand file tree Collapse file tree 4 files changed +15
-16
lines changed
Expand file tree Collapse file tree 4 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -57,17 +57,24 @@ jobs:
5757 run : |
5858 hatch run cov:nowarn || hatch run test:nowarn --lf
5959
60- - name : Coverage
61- run : |
62- pip install codecov coverage[toml]
63- codecov
64-
6560 - name : Check Launcher
6661 run : |
6762 pip install .
6863 cd $HOME
6964 python -m ipykernel_launcher --help
7065
66+ - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
67+
68+ coverage :
69+ runs-on : ubuntu-latest
70+ needs :
71+ - build
72+ steps :
73+ - uses : actions/checkout@v3
74+ - uses : jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
75+ with :
76+ fail_under : 80
77+
7178 test_lint :
7279 name : Test Lint
7380 runs-on : ubuntu-latest
@@ -190,7 +197,7 @@ jobs:
190197 tests_check : # This job does nothing and is only used for the branch protection
191198 if : always()
192199 needs :
193- - build
200+ - coverage
194201 - test_docs
195202 - test_without_debugpy
196203 - test_miniumum_versions
Original file line number Diff line number Diff line change 11# IPython Kernel for Jupyter
22
33[ ![ Build Status] ( https://github.com/ipython/ipykernel/actions/workflows/ci.yml/badge.svg?query=branch%3Amain++ )] ( https://github.com/ipython/ipykernel/actions/workflows/ci.yml/badge.svg?query=branch%3Amain++ )
4- [ ![ codecov] ( https://codecov.io/gh/ipython/ipykernel/branch/main/graph/badge.svg?token=SyksDOcIJa )] ( https://codecov.io/gh/ipython/ipykernel )
54[ ![ Documentation Status] ( https://readthedocs.org/projects/ipykernel/badge/?version=latest )] ( http://ipykernel.readthedocs.io/en/latest/?badge=latest )
65
76This package provides the IPython kernel for Jupyter.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -191,6 +191,8 @@ exclude_lines = [
191191]
192192
193193[tool .coverage .run ]
194+ relative_files = true
195+ source = [" ipykernel" ]
194196omit = [
195197 " ipykernel/tests/*" ,
196198 " ipykernel/datapub.py" ,
You can’t perform that action at this time.
0 commit comments