forked from LBRYCommunity/lbry-sdk
try python coveralls package insead of github action
This commit is contained in:
parent
66da8b164f
commit
8329e649b0
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
|
@ -62,11 +62,13 @@ jobs:
|
||||||
HOME: /tmp
|
HOME: /tmp
|
||||||
run: python -m unittest tests/unit/test_conf.py
|
run: python -m unittest tests/unit/test_conf.py
|
||||||
- name: submit coverage report
|
- name: submit coverage report
|
||||||
uses: AndreMiras/coveralls-python-action@master
|
env:
|
||||||
with:
|
GITHUB_TOKEN: ${{ secrets.github_token }}
|
||||||
github-token: ${{ secrets.github_token }}
|
COVERALLS_FLAG_NAME: tests-unit-${{ runner.os }}
|
||||||
flag-name: tests-unit-${{ matrix.os }}
|
COVERALLS_PARALLEL: true
|
||||||
parallel: true
|
run: |
|
||||||
|
pip install coveralls
|
||||||
|
coveralls --service=github
|
||||||
|
|
||||||
tests-integration:
|
tests-integration:
|
||||||
name: "tests / integration"
|
name: "tests / integration"
|
||||||
|
@ -109,11 +111,12 @@ jobs:
|
||||||
needs: ["tests-unit", "tests-integration"]
|
needs: ["tests-unit", "tests-integration"]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Coveralls Finished
|
- name: finalize coverage report submission
|
||||||
uses: AndreMiras/coveralls-python-action@master
|
env:
|
||||||
with:
|
GITHUB_TOKEN: ${{ secrets.github_token }}
|
||||||
github-token: ${{ secrets.github_token }}
|
run: |
|
||||||
parallel-finished: true
|
pip install coveralls
|
||||||
|
coveralls --service=github --finish
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: ["lint", "tests-unit", "tests-integration"]
|
needs: ["lint", "tests-unit", "tests-integration"]
|
||||||
|
|
Loading…
Reference in a new issue