Skip to content

Commit

Permalink
ci: Use coveralls since codecov errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 16, 2024
1 parent 28e0dcd commit 9e6d6a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cache: pip
cache-dependency-path: setup.py
- run: pip install -e .[test]
- name: pytest scrapyd --cov=. --cov-report=xml
- run: pytest scrapyd --cov=. --cov-report=xml
- name: Run integration tests
run: |
printf "[scrapyd]\nusername = hello12345\npassword = 67890world\n" > scrapyd.conf
Expand All @@ -26,15 +26,6 @@ jobs:
pytest integration_tests
cat scrapyd.log
kill %%
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: false
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
# https://github.com/codecov/codecov-action/issues/476
# path_to_write_report: ./coverage/codecov_report.txt
verbose: true
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
],
extras_require={
'test': [
'coveralls',
'pytest',
'pytest-cov',
'requests',
Expand Down

0 comments on commit 9e6d6a3

Please sign in to comment.