Skip to content

Commit 4c57e54

Browse files
authoredJun 4, 2023
Add branch coverage, badge, and changelog entry (#33)
1 parent 3952bc0 commit 4c57e54

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
 

‎.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: Tests
5454
run: |
55-
pytest --mpl --color=yes --cov=mplsignal tests
55+
pytest --mpl --color=yes --cov=mplsignal --cov-branch tests
5656
5757
- name: Upload coverage reports to Codecov
5858
uses: codecov/codecov-action@v3
@@ -106,7 +106,7 @@ jobs:
106106
107107
- name: Tests
108108
run: |
109-
pytest --mpl --color=yes --cov=mplsignal tests
109+
pytest --mpl --color=yes --cov=mplsignal --cov-branch tests
110110
111111
- name: Upload coverage reports to Codecov
112112
uses: codecov/codecov-action@v3

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![Build status](https://github.com/oscargus/mplsignal/workflows/Tests/badge.svg)](https://github.com/oscargus/mplsignal/actions?query=workflow%3ATests)
2+
[![codecov](https://codecov.io/gh/oscargus/mplsignal/branch/main/graph/badge.svg?token=0ICY4NEVJM)](https://codecov.io/gh/oscargus/mplsignal)
23
[![License](https://img.shields.io/github/license/oscargus/mplsignal)](https://github.com/oscargus/mplsignal/blob/main/LICENSE)
34
[![PyPI](https://img.shields.io/pypi/v/mplsignal)](https://pypi.org/project/mplsignal/)
45
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/oscargus/mplsignal)](https://github.com/oscargus/mplsignal/releases)

‎changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Added
3737
- ``multiplicity_props`` argument to ``plane_plots.*plane*``-functions that allows
3838
styling of pole/zero multiplicity texts.
3939
- This changelog.
40+
- Code coverage at CodeCov.
4041

4142
Fixed
4243
^^^^^

0 commit comments

Comments
 (0)
Please sign in to comment.