andremiras coveralls

This commit is contained in:
Lex Berezhny 2020-06-09 16:58:22 -04:00
parent 55196ccb6b
commit 1fe444bca2

View file

@ -51,25 +51,38 @@ jobs:
HOME: /tmp
run: coverage run -m unittest -vv tests.unit.test_conf
# run: coverage run -m unittest discover -vv tests.unit
# - if: startsWith(runner.os, 'linux') || startsWith(runner.os, 'mac')
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# COVERALLS_PARALLEL: true
# name: Submit to coveralls
# run: |
# pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
# coveralls
- if: startsWith(runner.os, 'linux') || startsWith(runner.os, 'mac')
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true
name: Submit to coveralls
run: |
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
complete_coverals:
needs: tests-unit
coveralls_finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
#uses: coverallsapp/github-action@57daa114
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
# complete_coverals:
# needs: tests-unit
# runs-on: ubuntu-latest
# steps:
# - name: Coveralls Finished
# uses: coverallsapp/github-action@master
# #uses: coverallsapp/github-action@57daa114
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# parallel-finished: true
# tests-integration:
# name: "tests / integration"