submit coverage to coveralls
This commit is contained in:
parent
30dd0c1e11
commit
597146b136
1 changed files with 16 additions and 0 deletions
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
@ -61,6 +61,12 @@ jobs:
|
|||
env:
|
||||
HOME: /tmp
|
||||
run: python -m unittest tests/unit/test_conf.py
|
||||
- name: submit coverage report
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
flag-name: tests-unit-${{ matrix.os }}
|
||||
parallel: true
|
||||
|
||||
tests-integration:
|
||||
name: "tests / integration"
|
||||
|
@ -99,6 +105,16 @@ jobs:
|
|||
- run: pip install tox
|
||||
- run: tox -e ${{ matrix.test }}
|
||||
|
||||
coverage:
|
||||
needs: ["tests-unit", "tests-integration"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Coveralls Finished
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
parallel-finished: true
|
||||
|
||||
build:
|
||||
needs: ["lint", "tests-unit", "tests-integration"]
|
||||
name: "build / binary"
|
||||
|
|
Loading…
Reference in a new issue