diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e416c4d..0c76fb0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,3 +52,8 @@ jobs: - name: Run Makefile tasks run: | poetry run make all + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/Makefile b/Makefile index 4597dc5..f7f218b 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index bc62263..64dd906 100644 --- a/README.md +++ b/README.md @@ -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.