Merge pull request #1063 from AndreMiras/feature/coveralls_from_pull_requests
Fixes coveralls.io on pull requests
This commit is contained in:
commit
422f951931
1 changed files with 8 additions and 7 deletions
15
.github/workflows/test_python.yml
vendored
15
.github/workflows/test_python.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue