diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 14bdf73..2141d95 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -39,16 +39,12 @@ jobs: #flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics #exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest and coverage - run: | - pytest -vvv -cov=${{ env.PROJECT_NAME }} --cov-report=xml --cov-report=term diff_classifier/tests/ - - - name: Save coverage report as an artifact - uses: actions/upload-artifact@v2 - with: - name: coverage-report - path: coverage.xml + + - name: Test with pytest + run: | + pytest --cov=./ --cov-report=xml + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 with: