Skip to content

Commit

Permalink
chore (test): add coverage report and badge
Browse files Browse the repository at this point in the history
  • Loading branch information
MazenAli committed Jul 20, 2024
1 parent bd1416e commit 408c01a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ jobs:
- name: Run Makefile tasks
run: |
poetry run make all
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ test:

test_coverage:
coverage run --source=qulearn --module pytest -v tests/ && coverage report -m
coverage xml

secrets_check:
@git secrets --scan -r
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# QuLearn

[![CI](https://github.com/MazenAli/QuLearn/actions/workflows/main.yml/badge.svg)](https://github.com/MazenAli/QuLearn/actions/workflows/main.yml)
[![codecov](https://codecov.io/github/MazenAli/QuLearn/graph/badge.svg?token=9HGKOOI6CU)](https://codecov.io/github/MazenAli/QuLearn)

Welcome to QuLearn, a Python package designed to simplify the development and application of quantum and classical machine learning models.
This project remained a hobby and is not actively developed anymore.
Expand Down

0 comments on commit 408c01a

Please sign in to comment.