Skip to content

Commit

Permalink
fixing coveralls reporting (#519)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Volf <mvolf@cisco.com>
Co-authored-by: Einar Nilsen-Nygaard <einarnn@gmail.com>
  • Loading branch information
3 people committed Apr 10, 2022
1 parent ea9b961 commit 4276c65
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/check.yaml
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9']
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -31,17 +31,21 @@ jobs:
- name: Upload Coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.python-version }}
COVERALLS_PARALLEL: true
run: |
coveralls
coveralls --service=github
# coveralls_finish:
# needs: check
# runs-on: ubuntu-latest
# steps:
# - name: Coveralls Finished
# uses: coverallsapp/github-action@master
# with:
# path-to-lcov: .coverage
# github-token: ${{ secrets.GITHUB_TOKEN }}

coveralls:
name: Indicate completion to coveralls.io
needs: check
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --service=github --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4276c65

Please sign in to comment.