Skip to content

Commit

Permalink
Remove coverallsapp action for posting results
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Dec 9, 2020
1 parent e6f1eb7 commit 19a75ae
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,29 @@ jobs:
TOXENV: ${{ matrix.toxenv }}
run: |
tox
- name: "Install coveralls"
- name: "Save coverage reports for the master branch"
if: github.ref == 'refs/heads/master' && github.repository == 'artefactual-labs/mets-reader-writer'
run: |
pip install coveralls
- name: "Save coverage reports for the master branch"
if: github.ref == 'refs/heads/master' && github.repository == 'artefactual-labs/mets-reader-writer'
uses: "coverallsapp/github-action@master"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{ matrix.toxenv }}
parallel: true
coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.toxenv }}
COVERALLS_PARALLEL: true
coveralls:
name: "Coveralls"
if: github.ref == 'refs/heads/master' && github.repository == 'artefactual-labs/mets-reader-writer'
needs: "test"
runs-on: "ubuntu-18.04"
runs-on: "ubuntu-latest"
container: python:3-slim
steps:
- name: "Post coverage reports"
uses: "coverallsapp/github-action@master"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
run: |
pip3 install --upgrade coveralls
coveralls --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
lint:
name: "Lint"
runs-on: "ubuntu-18.04"
Expand Down

0 comments on commit 19a75ae

Please sign in to comment.