forked from LBRYCommunity/lbry-sdk
more codecov experiments
This commit is contained in:
parent
269c0f714e
commit
a0fb3424aa
1 changed files with 6 additions and 4 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -49,10 +49,10 @@ jobs:
|
||||||
pip install -e .[test]
|
pip install -e .[test]
|
||||||
- env:
|
- env:
|
||||||
HOME: /tmp
|
HOME: /tmp
|
||||||
run: |
|
run: coverage run -m unittest -vv tests.unit.test_conf
|
||||||
coverage run -m unittest -vv tests.unit.test_conf
|
|
||||||
bash <(curl -s https://codecov.io/bash)
|
|
||||||
# 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')
|
||||||
|
run: bash <(curl -s https://codecov.io/bash) -X gcov -F unit-${{ matrix.os }}
|
||||||
|
|
||||||
tests-integration:
|
tests-integration:
|
||||||
name: "tests / integration"
|
name: "tests / integration"
|
||||||
|
@ -88,7 +88,9 @@ jobs:
|
||||||
- run: pip install tox-travis
|
- run: pip install tox-travis
|
||||||
- env:
|
- env:
|
||||||
TEST_DB: ${{ matrix.db }}
|
TEST_DB: ${{ matrix.db }}
|
||||||
run: tox -e ${{ matrix.test }}
|
run: |
|
||||||
|
tox -e ${{ matrix.test }}
|
||||||
|
bash <(curl -s https://codecov.io/bash) -X gcov -F integration-${{ matrix.test }}-${{ matrix.db }}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: ["lint", "tests-unit", "tests-integration"]
|
needs: ["lint", "tests-unit", "tests-integration"]
|
||||||
|
|
Loading…
Reference in a new issue