File tree 4 files changed +11
-4
lines changed
4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,15 @@ jobs:
129
129
docker run --rm -itd -p 5555:5555 rigetti/quilc -R
130
130
docker run --rm -itd -p 5000:5000 rigetti/qvm -S
131
131
poetry run make test
132
+ - name : Report Coverage
133
+ if : matrix.python-version == '3.11'
134
+
135
+ with :
136
+ coverageFile : coverage.xml
137
+ thresholdAll : 0.87
138
+ thresholdNew : 0.9
139
+ thresholdModified : 0.9
140
+ token : ${{ secrets.PAT }}
132
141
133
142
test-e2e :
134
143
name : Test e2e QVM
Original file line number Diff line number Diff line change 1
1
README.rst
2
2
docs /source /changes.rst
3
3
docs /source /apidocs /
4
+ coverage.xml
4
5
5
6
# Created by https://www.gitignore.io/api/python,osx,pycharm
6
7
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ install:
63
63
.PHONY : test
64
64
test :
65
65
poetry install --extras latex
66
- pytest -v --runslow --cov=pyquil test/unit
66
+ pytest -v --runslow --cov=pyquil --cov-report xml:coverage.xml test/unit
67
67
68
68
.PHONY : test-fast
69
69
test-fast :
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ PyQuil: Quantum programming in Python
3
3
4
4
[ ![ binder] ( https://mybinder.org/badge_logo.svg )] [ binder ]
5
5
[ ![ docs] [ docs-badge ]] [ docs-repo ]
6
- [ ![ coverage] [ coverage-badge ]] [ coverage-repo ]
7
6
[ ![ docker] [ docker-badge ]] [ docker-repo ]
8
7
[ ![ pepy] [ pepy-badge ]] [ pepy-repo ]
9
8
[ ![ pypi] [ pypi-badge ]] [ pypi-repo ]
@@ -181,8 +180,6 @@ PyQuil is licensed under the
181
180
[ conda-forge-repo ] : https://anaconda.org/conda-forge/pyquil
182
181
[ conda-rigetti-badge ] : https://img.shields.io/conda/vn/rigetti/pyquil?label=conda-rigetti
183
182
[ conda-rigetti-repo ] : https://anaconda.org/rigetti/pyquil
184
- [ coverage-badge ] : https://coveralls.io/repos/github/rigetti/pyquil/badge.svg?branch=more-badges
185
- [ coverage-repo ] : https://coveralls.io/github/rigetti/pyquil?branch=more-badges
186
183
[ docker-badge ] : https://img.shields.io/docker/pulls/rigetti/forest
187
184
[ docker-repo ] : https://hub.docker.com/r/rigetti/forest
188
185
[ docs-badge ] : https://readthedocs.org/projects/pyquil/badge/?version=latest
You can’t perform that action at this time.
0 commit comments