Skip to content

Commit 80a3cf3

Browse files
antdkingTyler Hargraves
authored and
Tyler Hargraves
committed
fix: ensure Coverage report is combined together (aws#297)
Run coverage in Append mode, so that we build a full coverage report for codecov fixes: aws#296
1 parent c1fe6f9 commit 80a3cf3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tox.ini

+6-5
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ deps =
5353
py{35,36,37,38,39}: aiobotocore >= 0.10.0
5454

5555
commands =
56-
py{27,34}-default: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/ext/django --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py --ignore tests/ext/sqlalchemy_core
57-
py{35,36,37,38,39}-default: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/django --ignore tests/ext/sqlalchemy_core
58-
py{27,36,37,38,39}-default: coverage run --source aws_xray_sdk -m py.test tests/ext/sqlalchemy_core
59-
py{34,35}-default: coverage run --source aws_xray_sdk -m py.test tests/ext/sqlalchemy_core/ --ignore tests/ext/sqlalchemy_core/test_sqlalchemy_core_2.py
60-
django{22,30,31,32}: coverage run --source aws_xray_sdk -m py.test tests/ext/django
56+
coverage erase
57+
py{27,34}-default: coverage run --append --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/ext/django --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py --ignore tests/ext/sqlalchemy_core
58+
py{35,36,37,38,39}-default: coverage run --append --source aws_xray_sdk -m py.test tests --ignore tests/ext/django --ignore tests/ext/sqlalchemy_core
59+
py{27,36,37,38,39}-default: coverage run --append --source aws_xray_sdk -m py.test tests/ext/sqlalchemy_core
60+
py{34,35}-default: coverage run --append --source aws_xray_sdk -m py.test tests/ext/sqlalchemy_core/ --ignore tests/ext/sqlalchemy_core/test_sqlalchemy_core_2.py
61+
django{22,30,31,32}: coverage run --append --source aws_xray_sdk -m py.test tests/ext/django
6162
codecov
6263

6364
setenv =

0 commit comments

Comments
 (0)