diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index e19eecd3..33cfd7f8 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -20,9 +20,13 @@ jobs: - uses: Whist-Team/actions/setup-poetry@v2 with: python-version: ${{ matrix.python-version }} + - name: Pytest + run: 'poetry run python -m pytest --cov=whist_core --cov-report=xml --cov-config=.coveragerc' - - name: Test with pytest & coverage - uses: Whist-Team/actions/test-cov@v2 + - name: Upload to codecoverage + uses: codecov/codecov-action@v4 with: - package: whist_core + file: ./coverage.xml + fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} +