This commit is contained in:
JP White 2021-02-28 16:19:41 -05:00
parent d35acca21e
commit 83a9217c54
3 changed files with 8 additions and 2 deletions

View file

@ -31,12 +31,12 @@ jobs:
run: |
make lint
- name: Test with pytest
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
make test-coverage
- name: Coveralls
uses: coverallsapp/github-action@master
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
@ -47,6 +47,8 @@ jobs:
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

View file

@ -52,6 +52,8 @@ test-debug: ## run tests with debugging enabled
test-coverage: ## check code coverage quickly with the default Python
coverage run --source gitinspector -m pytest
coverage report -m
test-coverage-report: test-coverage ## Report coverage to Coveralls
coveralls
release: dist ## package and upload a release

View file

@ -19,6 +19,8 @@ chardet==4.0.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2
click==7.1.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
colorama==0.4.4; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
coverage==5.4
coveralls==3.0.0
docopt==0.6.2
docutils==0.16; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
flake8==3.8.4
idna==2.10; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'