diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 45b72c659..17aa453c6 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -43,4 +43,8 @@ jobs: pip install --timeout=300 ${{ matrix.env }} - name: Test with pytest ${{ matrix.env }} run: | - pytest + python -m pytest --cov=./ --cov-report=xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}