Skip to content

Commit

Permalink
fix coveralls badge (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcottingham committed May 26, 2021
1 parent cef242b commit 0efc24d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
relative_files = True
22 changes: 16 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,19 @@ jobs:
run: |
make pre_build
- name: generate coveralls coverage
if: matrix.python-version == 3.9
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: false
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
flag-name: Python-${{ matrix.python-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
debug: true

coveralls_finish:
name: Report Coverage
needs: build
runs-on: ubuntu-18.04
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install: env
ifneq (,$(filter $(PYTHON_VERSION),2.7))
curl https://bootstrap.pypa.io/pip/${PYTHON_VERSION}/get-pip.py | python
endif
python -m pip install --upgrade pip "setuptools>=38.3.0,<=44.1.x" wheel pep517 pylint "twine==1.7.0" bump2version coverage coveralls
python -m pip install --upgrade pip "setuptools>=38.3.0,<=44.1.x" wheel pep517 pylint "twine==1.7.0" bump2version coverage
python -m pip install -r requirements.txt
python -m pip install -r test-requirements.txt

Expand Down

0 comments on commit 0efc24d

Please sign in to comment.