File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ [report]
2
+ include_namespace_packages = true
3
+ fail_under = 93.00
4
+ precision = 2
Original file line number Diff line number Diff line change 41
41
- name : Run unit tests/benchmarks with tox
42
42
if : ${{ inputs.run_unit_tests == 'true' }}
43
43
shell : bash
44
- run : tox -f ${{ inputs.python_version }}-${{ inputs.package_name }} -- -ra --benchmark-json=${{ inputs.python_version }}-${{ inputs.package_name }}-${{ inputs.os }}-benchmark.json
44
+ run : tox -f ${{ inputs.python_version }}-${{ inputs.package_name }} -- -ra
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ envlist =
14
14
deps =
15
15
-c dev-requirements.txt
16
16
test: pytest
17
- test: pytest-benchmark
17
+ test: pytest-cov
18
18
19
19
setenv =
20
20
; TODO: The two repos branches need manual updated over time, need to figure out a more sustainable solution.
@@ -37,7 +37,7 @@ commands_pre =
37
37
aws-opentelemetry-distro: pip install {toxinidir}/aws-opentelemetry-distro
38
38
39
39
commands =
40
- test: pytest {posargs}
40
+ test: pytest -- cov ={envsitepackagesdir}/amazon -- cov-config =../../.coveragerc {posargs}
41
41
42
42
[testenv:spellcheck]
43
43
basepython: python3
You can’t perform that action at this time.
0 commit comments