Skip to content

Commit 99ba18e

Browse files
committed
add badges, branch coverage
1 parent d56e601 commit 99ba18e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: continuous-integration
33
on: [push, pull_request]
44

55
env:
6-
COVERAGE_THRESHOLD: 62
6+
COVERAGE_THRESHOLD: 60
77

88
jobs:
99

@@ -94,7 +94,7 @@ jobs:
9494
9595
# Run tests under coverage
9696
- name: Run the tests
97-
run: pytest --cov pydata_sphinx_theme --cov-report term-missing:skip-covered --cov-fail-under ${{ env.COVERAGE_THRESHOLD }}
97+
run: pytest --cov pydata_sphinx_theme --cov-report term-missing:skip-covered --cov-branch --cov-fail-under ${{ env.COVERAGE_THRESHOLD }}
9898

9999
- name: Upload coverage
100100
if: ${{ always() }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# pydata-sphinx-theme
22

3+
![pypi](https://img.shields.io/pypi/v/pydata-sphinx-theme) [![conda-forge](https://img.shields.io/conda/vn/conda-forge/pydata-sphinx-theme.svg)](https://anaconda.org/conda-forge/pydata-sphinx-theme) [![continuous-integration](https://github.com/pydata/pydata-sphinx-theme/actions/workflows/tests.yml/badge.svg)](https://github.com/pydata/pydata-sphinx-theme/actions/workflows/tests.yml) [![docs](https://readthedocs.org/projects/pydata-sphinx-theme/badge/)](https://readthedocs.org/projects/pydata-sphinx-theme/builds/) [![codecov](https://codecov.io/gh/pydata/pydata-sphinx-theme/branch/master/graph/badge.svg?token=NwOObjYacn)](https://codecov.io/gh/pydata/pydata-sphinx-theme)
4+
35
A Bootstrap-based Sphinx theme from the PyData community.
46

57
Demo site: https://pydata-sphinx-theme.readthedocs.io/en/latest/

0 commit comments

Comments
 (0)