Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/coveralls GitHub action updated #1772

Merged
merged 2 commits into from
Aug 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ jobs:
needs: test-multi-python
runs-on: ubuntu-latest
steps:
- uses: coverallsapp/github-action@57daa114ba54fd8e1c8563e8027325c0bf2f5e80
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
Expand Down Expand Up @@ -90,14 +91,14 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[test]
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
pip install .[ci]
- name: Test with pytest
run: coverage run --source praw --module pytest
- env:
COVERALLS_PARALLEL: true
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Submit to coveralls
run: coveralls
run: coveralls --service=github
- name: Check coverage
run: coverage report -m --fail-under=100
strategy:
Expand Down