@@ -109,18 +109,33 @@ jobs:
109109 - name : Pre-Clean
110110 id : clean
111111 run : make -j1 -f Makefile clean || true ;
112- - name : Generate Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
112+ - name : Generate Test Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
113113 env :
114114 TESTS_USE_PYTEST : 1
115115 run : make -f Makefile test >> $GITHUB_STEP_SUMMARY ;
116- - name : Upload Python ${{ matrix.python-version }} coverage to Codecov
116+ - name : Generate Doctest Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
117+ run : make -f Makefile test-mat-doctests ;
118+ - name : Upload Python ${{ matrix.python-version }} test coverage to Codecov
117119 uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
118120 with :
119121 token : ${{ secrets.CODECOV_TOKEN }}
120122 job_code : ${{ github.run_id }}-${{ github.run_number }}
121- files : ./coverage.xml
123+ files : ./coverage.xml,./test-reports/coverage.xml
122124 directory : .
123- flags : multicast,${{ matrix.os }},${{ matrix.python-version }}
125+ env_vars : OS,PYTHON_VERSION
126+ flags : unittests
127+ name : multicast-github-${{ matrix.os }}-${{ matrix.python-version }}
128+ verbose : true
129+ fail_ci_if_error : false
130+ - name : Upload Python ${{ matrix.python-version }} doctest coverage to Codecov
131+ uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
132+ with :
133+ token : ${{ secrets.CODECOV_TOKEN }}
134+ job_code : ${{ github.run_id }}-${{ github.run_number }}
135+ files : ./test-reports/coverage_doctests.xml
136+ directory : .
137+ env_vars : OS,PYTHON_VERSION
138+ flags : doctests
124139 name : multicast-github-${{ matrix.os }}-${{ matrix.python-version }}
125140 verbose : true
126141 fail_ci_if_error : false
@@ -271,7 +286,8 @@ jobs:
271286 job_code : ${{ github.run_id }}-${{ github.run_number }}
272287 files : ./test-reports/coverage_supplement.xml,./test-reports/coverage.xml
273288 directory : .
274- flags : multicast,${{ matrix.os }},${{ matrix.python-version }}
289+ env_vars : OS,PYTHON_VERSION
290+ flags : multicast
275291 name : multicast-github-${{ matrix.os }}-${{ matrix.python-version }}
276292 verbose : true
277293 fail_ci_if_error : false
0 commit comments