Skip to content

Commit

Permalink
Add coverage report upload and update readme badge link #24
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoHuebner committed Mar 11, 2024
1 parent d881285 commit 7c2df9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
run: |
poetry run coverage run -m pytest
poetry run coverage json -o assets/coverage.json
- name: Upload documentation as artifacts
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: assets/coverage.json
retention-days: 365

code-quality:
runs-on: ${{ matrix.os }}
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# ``pystatis``

![Tests, Code Quality and Documentation](https://github.com/CorrelAid/pystatis/actions/workflows/run-tests.yaml/badge.svg?event=push)
![Code Coverage](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgh.neting.cc%2FCorrelAid%2Fpystatis%2Ftree%2Ffeature%2Ftest-coverage-improval%2Fassets%2Fcoverage.json&query=%24.totals.percent_covered_display&label=Code%20Coverage
)
![Code Coverage](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgh.neting.cc%2FCorrelAid%2Fpystatis%2Factions%2Fartifacts%2Fcoverage-report&query=%24.totals.percent_covered_display&label=Code%20Coverage)
![GitHub Pages Documentation](https://github.com/CorrelAid/pystatis/actions/workflows/deploy-docs.yaml/badge.svg?event=push)

```pystatis``` is a Python wrapper for the different GENESIS web service interfaces (API). Currently we are supporting the following databases:
Expand Down

0 comments on commit 7c2df9f

Please sign in to comment.