diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index a662ba6a..4005afa5 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -172,7 +172,12 @@ jobs: run: python -m pip install -e ".[test]" - name: Test with pytest - run: python -m pytest tests + run: python -m pytest --cov=anesthetic tests + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} latest-dependencies: runs-on: ubuntu-latest