diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cee5b294d34..6f909c2ba32f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -187,6 +187,13 @@ jobs: - name: Unit Testing run: make unittest + - name: Upload Coverage Results + uses: actions/upload-artifact@v2 + with: + name: HTML-Coverage + path: cov_html + retention-days: 7 + - name: Check package run: | pip install twine diff --git a/Makefile b/Makefile index 0e772eae5963..a9acaaf5d5ea 100644 --- a/Makefile +++ b/Makefile @@ -27,4 +27,4 @@ test-import: unittest: @echo "Running unittest" @pip install -r requirements_test.txt - @pytest -v --cov=ansys.fluent --cov-report=term + @pytest -v --cov=ansys.fluent --cov-report html:cov_html --cov-config=.coveragerc