diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bc6d6de..9a75ee9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 \ No newline at end of file + continue-on-error: true