Skip to content

Commit 174d2e7

Browse files
authored
ci: Added coveralls
1 parent 77e11e8 commit 174d2e7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build_upload_whl.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,16 @@ jobs:
163163
source test_env/bin/activate
164164
mfd-unit-tests --project-dir ${{ github.workspace }}/${{ inputs.SOURCE_PATH }}
165165
166+
- name: Run unit tests with coverage if test directory exists
167+
if: steps.test_check.outputs.run_unit_tests == 'true'
168+
shell: bash
169+
run: |
170+
source test_env/bin/activate
171+
mfd-unit-tests-with-coverage --project-dir ${{ github.workspace }}/${{ inputs.SOURCE_PATH }}
172+
173+
- name: Coveralls GitHub Action
174+
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b #v2.3.6
175+
166176
- name: Run functional tests if test directory exists
167177
if: steps.test_check.outputs.run_functional_tests == 'true'
168178
shell: bash
@@ -202,4 +212,4 @@ jobs:
202212
version_after_bump: ${{ steps.VERSION_BUMP.outputs.version_after_bump }}
203213
run: |
204214
cd ${{ inputs.SOURCE_PATH }}
205-
git push origin "${version_after_bump}"
215+
git push origin "${version_after_bump}"

0 commit comments

Comments
 (0)