Skip to content

Commit 3ce6add

Browse files
committed
codecov
1 parent 149bef9 commit 3ce6add

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,12 @@ jobs:
3939
#flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
4040
#exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4141
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
42-
- name: Test with pytest and coverage
43-
run: |
44-
pytest -vvv -cov=${{ env.PROJECT_NAME }} --cov-report=xml --cov-report=term diff_classifier/tests/
45-
46-
- name: Save coverage report as an artifact
47-
uses: actions/upload-artifact@v2
48-
with:
49-
name: coverage-report
50-
path: coverage.xml
42+
5143

44+
- name: Test with pytest
45+
run: |
46+
pytest --cov=./ --cov-report=xml
47+
5248
- name: Upload coverage reports to Codecov
5349
uses: codecov/codecov-action@v4.0.1
5450
with:

0 commit comments

Comments
 (0)