andremiras coveralls
This commit is contained in:
parent
55196ccb6b
commit
1fe444bca2
1 changed files with 28 additions and 15 deletions
37
.github/workflows/main.yml
vendored
37
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue