File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,12 +37,10 @@ jobs:
3737 run : |
3838 hatch -v run test
3939 hatch -v run test_readme
40- - name : Upload coverage data
41- uses : actions/upload-artifact@v4
40+ - name : Upload coverage reports to Codecov
41+ uses : codecov/codecov-action@v5
4242 with :
43- name : " coverage-data"
44- path : .coverage.*
45- if-no-files-found : ignore
43+ token : ${{ secrets.CODECOV_TOKEN }}
4644
4745 test_doc :
4846 name : Test that we can build the docs
Original file line number Diff line number Diff line change 1+ [ ![ PyPI version] ( https://badge.fury.io/py/quantum-evolution-kernel.svg )] ( https://pypi.org/project/quantum-evolution-kernel/ )
2+ [ ![ Tests] ( https://github.com/pasqal-io/quantum-evolution-kernel/actions/workflows/test.yml/badge.svg )] ( https://github.com/pasqal-io/quantum-evolution-kernel/actions/workflows/test.yml )
3+ ![ Coverage] ( https://img.shields.io/codecov/c/github/pasqal-io/quantum-evolution-kernel?style=flat-square )
4+
15# Quantum Evolution Kernel
26
37
Original file line number Diff line number Diff line change @@ -75,12 +75,12 @@ dependencies = [
7575
7676[tool .hatch .envs .default .scripts ]
7777before_tests = " python scripts/before_tests.py"
78- test = " pytest -n auto --cov-report=term-missing --cov-config=pyproject.toml --cov=qek --cov=tests --markdown-docs {args}"
78+ test = " pytest -n auto --cov-report=xml --cov-config=pyproject.toml --cov=qek --cov=tests --markdown-docs {args}"
7979test_readme = " pytest --markdown-docs README.md docs/"
8080
8181[tool .pytest .ini_options ]
8282testpaths = [" tests" ]
83- addopts = """ -vvv --cov-report=term-missing --cov-config=pyproject.toml --cov=qek --cov=tests --markdown-docs"""
83+ addopts = """ -vvv --cov-report=xml --cov-config=pyproject.toml --cov=qek --cov=tests --markdown-docs"""
8484xfail_strict = true
8585filterwarnings = [
8686 " ignore:Call to deprecated create function FieldDescriptor" ,
You can’t perform that action at this time.
0 commit comments