diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 29d4f5f..b11f724 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,4 +28,9 @@ jobs: python -m pip install .[dev] - name: Test with pytest run: | - python -m pytest + python -m pytest --cov=objdictgen --cov-report=xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: Laerdal/python-objdictgen \ No newline at end of file