andremiras coveralls

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

View file

@ -51,26 +51,39 @@ 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
uses: AndreMiras/coveralls-python-action@develop
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
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"
# runs-on: ubuntu-latest