Skip to content

Commit

Permalink
Use local coverage (#114)
Browse files Browse the repository at this point in the history
use local coverage
  • Loading branch information
blink1073 authored Apr 13, 2023
1 parent 12ef081 commit 110ef7d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,15 @@ jobs:
hatch-jupyter-builder -h
hatch-jupyter-builder migrate -h
hatch-jupyter-builder compare-migrated -h
- name: Code coverage
run: |
pip install codecov coverage[html]
codecov
- uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1

coverage:
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1

check_release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -148,7 +153,7 @@ jobs:
tests_check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- build
- coverage
- migration
- test_lint
- test_docs
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# hatch-jupyter-builder

[![PyPI - Version](https://img.shields.io/pypi/v/hatch-jupyter-builder.svg)](https://pypi.org/project/hatch-jupyter-builder)
[![codecov](https://codecov.io/gh/jupyterlab/hatch-jupyter-builder/branch/master/graph/badge.svg?token=DrOulNuIzL)](https://codecov.io/gh/jupyterlab/hatch-jupyter-builder)
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)

______________________________________________________________________
Expand Down
9 changes: 0 additions & 9 deletions codecov.yml

This file was deleted.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ omit = [
"hatch_jupyter_builder/migrate/*",
"hatch_jupyter_builder/compare_migrated/*"
]
relative_files = true
source = ["hatch_jupyter_builder"]

[tool.mypy]
check_untyped_defs = true
Expand Down

0 comments on commit 110ef7d

Please sign in to comment.