Skip to content

Commit

Permalink
[Docs] Test coverage and badge (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandMacDoland authored Dec 5, 2024
1 parent 399dbe4 commit 3cabc34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/test_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ jobs:
- name: Run fast tests
run: |
hatch -v run test -m "not slow"
- name: Upload coverage data
uses: actions/upload-artifact@v4
with:
name: "coverage-data"
path: .coverage.*
if-no-files-found: ignore
publish:
name: Publish to PyPI
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ programs** with tunable qubit interactions and arbitrary register topologies rea
[![Documentation](https://github.com/pasqal-io/qadence/actions/workflows/build_docs.yml/badge.svg)](https://pasqal-io.github.io/qadence/latest)
[![Pypi](https://badge.fury.io/py/qadence.svg)](https://pypi.org/project/qadence/)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![Coverage](https://img.shields.io/endpoint?url=https://pasqal-io.github.io/qadence/coverage.json)


## Feature highlights

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ dependencies = [
features = ["pulser", "visualization", "horqrux", "mlflow"]

[tool.hatch.envs.default.scripts]
test = "pytest -n auto --cov-report lcov --cov-config=pyproject.toml --cov=qadence --cov=tests --ignore=./tests/test_examples.py {args}"
test = "pytest -n auto --cov-report=json --cov-config=pyproject.toml --cov=qadence --cov=tests --ignore=./tests/test_examples.py {args}"
test-examples = "pytest ./tests/test_examples.py {args}"
no-cov = "cov --no-cov {args}"
test-docs = "mkdocs build --clean --strict"
Expand Down

0 comments on commit 3cabc34

Please sign in to comment.