Skip to content

Commit 8e3f2dc

Browse files
[TESTING] more coverage tweaks (- WIP #365 -)
Changes in file .github/workflows/Tests.yml: * include doctests coverage too
1 parent 96d5130 commit 8e3f2dc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/Tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
directory: .
137137
env_vars: OS,PYTHON_VERSION
138138
flags: doctests
139-
name: multicast-github-${{ matrix.os }}-${{ matrix.python-version }}
139+
name: multicast-github-${{ matrix.os }}-${{ matrix.python-version }}-doctests
140140
verbose: true
141141
fail_ci_if_error: false
142142
- name: Upload Python ${{ matrix.python-version }} Artifact
@@ -269,11 +269,13 @@ jobs:
269269
- name: Pre-install for Python ${{ matrix.python-version }} on ${{ matrix.os }}
270270
run: make -j1 -f Makefile user-install || true ;
271271
if: ${{ success() }}
272-
- name: Re-Generate Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
272+
- name: Re-Generate Test Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
273273
run: |
274274
make -j1 -f Makefile test-pytest ;
275275
cp -vf ./coverage.xml ./test-reports/coverage.xml || true ;
276276
shell: bash
277+
- name: Generate Doctest Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
278+
run: make -f Makefile test-mat-doctests ;
277279
- name: Generate Extra Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
278280
run: |
279281
hash -p ./.github/tool_shlock_helper.sh shlock ;
@@ -284,7 +286,7 @@ jobs:
284286
with:
285287
token: ${{ secrets.CODECOV_TOKEN }}
286288
job_code: ${{ github.run_id }}-${{ github.run_number }}
287-
files: ./test-reports/coverage_supplement.xml,./test-reports/coverage.xml
289+
files: ./test-reports/coverage_supplement.xml,./test-reports/coverage_doctests.xml,./test-reports/coverage.xml
288290
directory: .
289291
env_vars: OS,PYTHON_VERSION
290292
flags: multicast

0 commit comments

Comments
 (0)