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