diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17c42dc7..f97357c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,12 +45,19 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: pip install --user -r requirements/dev.txt - - run: python -m pytest --junitxml=test_report.xml + - run: coverage run -m pytest --junitxml=test_report.xml + - run: coverage report + - run: coverage xml - name: Upload test report uses: actions/upload-artifact@v3 with: name: test path: test_report.xml + - name: Upload coverage report + uses: actions/upload-artifact@v3 + with: + name: coverage + path: coverage.xml