Skip to content

Commit

Permalink
Update coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jul 29, 2022
1 parent 8d1ad4b commit ac8d7c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
run: |
tox -e$TOX_ENV
tox -e$TOX_ENV -r
.tox/$TOX_ENV/bin/coverage xml
.tox/$TOX_ENV/bin/coverage-lcov --output_file_path ./coverage/lcov.info
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-r requirements.txt
coverage
coveralls>=2.0
coverage-lcov
wheel
pep517
invoke
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envlist =
py{310}-django{32}-{cms311,cms310,nocms,async}
py{39,38,37}-django{32}-{cms311,cms310,cms39,nocms,async}
py{39,38,37}-django{22}-{cms311,cms310,cms39,cms38,cms37,nocms,async}
minversion = 3.23
minversion = 3.22

[testenv]
commands = {env:COMMAND:python} helper.py {posargs}
Expand Down

0 comments on commit ac8d7c1

Please sign in to comment.