Skip to content

Commit

Permalink
shot at recovering coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pevogam committed Jun 12, 2024
1 parent e8268fb commit 77edbc8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,13 @@ jobs:
- name: Isolation tests using parallel avocado runner
# if later on we decide that unit tests are still more appropriate here just do
#run: make check
run: PYTHONPATH=:. avocado run --max-parallel-tasks=4 selftests/isolation/test_*
# TODO: coverage report with avocado runs ends in 0% or ~0%, perhaps due to avocado or its async testing
#run: PYTHONPATH=:. coverage run --append --source=avocado_i2n $(which avocado) run --nrunner-max-parallel-tasks=4 selftests/isolation/test_*
# TODO: coverage report with avocado runs ends in 0% or ~0%, perhaps due to avocado or its async testing?
#run: PYTHONPATH=:. coverage run --append --source=avocado_i2n $(which avocado) run --max-parallel-tasks=4 selftests/isolation/test_*
#run: COVERAGE_RUN=1 PYTHONPATH=:. avocado run --max-parallel-tasks=4 selftests/isolation/test_*
run: |
PYTHONPATH=:. coverage run -m avocado run --max-parallel-tasks=4 selftests/isolation/test_*
coverage combine
coverage report
#- name: Collect all coverage
# run: coverage report -m
#- name: Upload coverage to Codecov
Expand Down

0 comments on commit 77edbc8

Please sign in to comment.