Skip to content

Commit

Permalink
Fixes coveralls.io on pull requests
Browse files Browse the repository at this point in the history
Coveralls.io now runs on pull requests as well.
The report is automatically uploaded on coveralls.io however it needs to
be accessed by copying the report URL to review it.
Next up would be to have it commenting on the pull request to see on
first sight if it increased or decreased.
Also made a couple of adjustment to the workflow file to clarify between
requirements building, Docker build/run and actual testing.
  • Loading branch information
AndreMiras committed Apr 10, 2020
1 parent 7daf3d0 commit 3f1b44d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ jobs:
- name: Requirements
run: |
pip install -U coveralls setuptools tox>=2.0
tox
- name: Build
- name: Tox
run: tox
- name: Docker build
run: |
docker build --tag=buildozer .
- name: Test
- name: Docker run
run: |
docker run buildozer --version
- name: coveralls
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: coveralls
- name: Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
run: coveralls

0 comments on commit 3f1b44d

Please sign in to comment.