File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 run : |
3030 set -eu
3131 hatch --env develop run coverage combine
32- # Note: Ignore errors because of mismatched source paths in combined coverage.
33- hatch --env develop run coverage report --ignore-errors
34- hatch --env develop run coverage html --ignore-errors
35- hatch --env develop run coverage xml --ignore-errors
32+ hatch --env develop run coverage report
33+ hatch --env develop run coverage html
34+ hatch --env develop run coverage xml
3635 shell : bash
3736
3837 - name : Preserve Coverage Reports
Original file line number Diff line number Diff line change 6969 run : |
7070 set -eu
7171 v=${{ fromJSON(inputs.python-descriptors)[ matrix.python-version ].hatch }}
72+ hatch --env "qa.${v}" run coverage --version
7273 hatch --env "qa.${v}" run coverage run
7374 shell : bash
7475
Original file line number Diff line number Diff line change @@ -62,6 +62,12 @@ emcdproj = 'emcdproj:main'
6262year-of-origin = 2024
6363
6464# https://coverage.readthedocs.io/en/latest/config.html
65+ [tool .coverage .paths ]
66+ gha-runners = [
67+ ' /home/runner/work/python-project-common/python-project-common/' ,
68+ ' /Users/runner/work/python-project-common/python-project-common/' ,
69+ ' D:\a\python-project-common\python-project-common\' ,
70+ ]
6571[tool .coverage .run ]
6672branch = true
6773command_line = ' -m pytest' # TODO? '--fail-under'
Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ email = '{{ author_email }}'
6868year-of-origin = {{ year_of_origin }}
6969
7070# https://coverage.readthedocs.io/en/latest/config.html
71+ [tool .coverage .paths ]
72+ gha-runners = [
73+ ' /home/runner/work/{{ project_name }}/{{ project_name }}/' ,
74+ ' /Users/runner/work/{{ project_name }}/{{ project_name }}/' ,
75+ ' D:\a\{{ project_name }}\{{ project_name }}\' ,
76+ ]
7177[tool .coverage .run ]
7278branch = true
7379command_line = ' -m pytest' # TODO? '--fail-under'
You can’t perform that action at this time.
0 commit comments