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
|
- name: Requirements
|
||||||
run: |
|
run: |
|
||||||
pip install -U coveralls setuptools tox>=2.0
|
pip install -U coveralls setuptools tox>=2.0
|
||||||
tox
|
- name: Tox
|
||||||
- name: Build
|
run: tox
|
||||||
|
- name: Docker build
|
||||||
run: |
|
run: |
|
||||||
docker build --tag=buildozer .
|
docker build --tag=buildozer .
|
||||||
- name: Test
|
- name: Docker run
|
||||||
run: |
|
run: |
|
||||||
docker run buildozer --version
|
docker run buildozer --version
|
||||||
- name: coveralls
|
- name: Coveralls
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
||||||
run: coveralls
|
|
||||||
env:
|
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