Skip to content

Commit

Permalink
Merge pull request #10 from mdapena/fastapi-event-emitter
Browse files Browse the repository at this point in the history
Enhance code coverage accuracy and Coveralls integration
  • Loading branch information
mdapena committed Jan 6, 2024
2 parents 729a238 + 1f0e13b commit e8fcf5f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
files: coverage.xml
flag-name: py${{ matrix.python-version }}-${{ matrix.os }}
parallel: true

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<img src="https://github.com/mdapena/pyventus/actions/workflows/run-tests.yml/badge.svg?branch=master" alt="Tests">
</a>

<a href='https://coveralls.io/github/mdapena/pyventus?branch=master'>
<img src='https://coveralls.io/repos/github/mdapena/pyventus/badge.svg?branch=fastapi-event-emitter' alt='Coverage Status' />
</a>

<a href="https://github.com/mdapena/pyventus/actions?query=workflow%3ADocs+event%3Apush+branch%3Amaster" target="_blank">
<img src="https://github.com/mdapena/pyventus/actions/workflows/deploy-docs.yml/badge.svg?branch=master" alt="Docs">
</a>

<a href='https://coveralls.io/github/mdapena/pyventus?branch=master'>
<img src='https://coveralls.io/repos/github/mdapena/pyventus/badge.svg?branch=master' alt='Coverage Status'/>
</a>

<a href="https://pypi.org/project/pyventus" target="_blank">
<img src="https://img.shields.io/pypi/v/pyventus?color=blue" alt="Package version">
</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ hide:
<img src="https://github.com/mdapena/pyventus/actions/workflows/run-tests.yml/badge.svg?branch=master" alt="Tests">
</a>

<a href='https://coveralls.io/github/mdapena/pyventus?branch=master'>
<img src='https://coveralls.io/repos/github/mdapena/pyventus/badge.svg?branch=fastapi-event-emitter' alt='Coverage Status' />
</a>

<a href="https://github.com/mdapena/pyventus/actions?query=workflow%3ADocs+event%3Apush+branch%3Amaster" target="_blank">
<img src="https://github.com/mdapena/pyventus/actions/workflows/deploy-docs.yml/badge.svg?branch=master" alt="Docs">
</a>

<a href='https://coveralls.io/github/mdapena/pyventus?branch=master'>
<img src='https://coveralls.io/repos/github/mdapena/pyventus/badge.svg?branch=master' alt='Coverage Status'/>
</a>

<a href="https://pypi.org/project/pyventus" target="_blank">
<img src="https://img.shields.io/pypi/v/pyventus?color=blue" alt="Package version">
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ hide:

##### Changes

- Minor bug fixes and refactoring have been made in the `deploy-docs` and `run-tests` workflows.
- Badges have been added to the main page of the documentation as well as the readme file.
- To facilitate academic citations, a `CITATION.cff` file has been added in this release.
- A code of conduct has been added to the project using
Expand All @@ -81,6 +80,7 @@ hide:

##### Fixes

- Minor bug fixes and refactoring have been made in the `deploy-docs` and `run-tests` workflows.
- Fixed issues with relative links in the documentation.

[//]: # (--------------------------------------------------------------------------------------------------------------)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ cov = [
"coverage run -m pytest -v {args:tests}",
"- coverage combine",
"coverage report",
"coverage xml",
]
all = [
"style",
Expand Down

0 comments on commit e8fcf5f

Please sign in to comment.