diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6175bd70..e69a3f54 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -65,6 +65,14 @@ jobs: - name: Install package run: | pip install -e .[test] -r requirements.txt - - name: Test with pytest + # - name: Test with pytest + # run: | + # pytest + - name: Run tests with coverage run: | - pytest \ No newline at end of file + pip install pytest coverage + coverage run -m pytest + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file