Skip to content

Commit

Permalink
Added HTML coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielAvdar authored Feb 2, 2024
1 parent cfd8946 commit d0f7cb0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,16 @@ jobs:

- name: Install the project dependencies
run: poetry install
- name: Unit Tests
run: poetry run pytest tests/unit -v --cov=shmessy

- name: Unit Tests with Coverage
run: poetry run pytest tests/unit -v --cov=shmessy --cov-report=term-missing --cov-report=html

- name: Save coverage report as artifact
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: ./htmlcov

- name: Integration Tests
run: poetry run pytest tests/intg -v
continue-on-error: true
continue-on-error: true

0 comments on commit d0f7cb0

Please sign in to comment.