Merge pull request #1063 from AndreMiras/feature/coveralls_from_pull_requests

Fixes coveralls.io on pull requests
This commit is contained in:
Andre Miras 2020-04-13 17:09:32 +02:00 committed by GitHub
commit 422f951931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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