Skip to content

Commit

Permalink
FIX: code coverage was not running and thus nothing was uploaded (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
nocollier authored Jan 25, 2024
1 parent f2ca67a commit 5ea9997
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

[![Continuous Integration][ci-badge]][ci-link]
[![Documentation Status][rtd-badge]][rtd-link]
[![Code Coverage Status][codecov-badge]][codecov-link]
[![PyPI][pypi-badge]][pypi-link]

## Overview

Expand Down Expand Up @@ -34,3 +36,7 @@ For a full listing of features with code examples, please consult the [documenta
[ci-link]: https://github.com/esgf2-us/intake-esgf/actions/workflows/ci.yml
[rtd-badge]: https://readthedocs.org/projects/intake-esgf/badge/?version=latest
[rtd-link]: https://intake-esgf.readthedocs.io/en/latest/?badge=latest
[codecov-badge]: https://img.shields.io/codecov/c/github/esgf2-us/intake-esgf.svg?logo=codecov
[codecov-link]: https://codecov.io/gh/esgf2-us/intake-esgf
[pypi-badge]: https://img.shields.io/pypi/v/intake-esgf?logo=pypi
[pypi-link]: https://pypi.org/project/intake-esgf
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "no-guess-dev"

[tool.pytest.ini_options]
console_output_style = "count"
addopts = "--cov=intake_esgf --cov-report=xml --verbose"

[tool.coverage.run]
omit = ["*/intake_esgf/tests/*"]

Expand Down

0 comments on commit 5ea9997

Please sign in to comment.