forked from LBRYCommunity/lbry-sdk
only duplicate blockchain CI step
This commit is contained in:
parent
40d26cb868
commit
646902e75e
2 changed files with 8 additions and 6 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -78,8 +78,8 @@ jobs:
|
|||
test:
|
||||
- datanetwork
|
||||
- blockchain
|
||||
- blockchain_legacy_search
|
||||
- other
|
||||
hub_type: ['legacy_hub', 'new_hub']
|
||||
steps:
|
||||
- name: Configure sysctl limits
|
||||
run: |
|
||||
|
@ -106,10 +106,7 @@ jobs:
|
|||
key: tox-integration-${{ matrix.test }}-${{ hashFiles('setup.py') }}
|
||||
restore-keys: txo-integration-${{ matrix.test }}-
|
||||
- run: pip install tox coverage coveralls
|
||||
- name: run tox
|
||||
env:
|
||||
ENABLE_LEGACY_SEARCH: ${{ matrix.hub_type == 'legacy_hub' }}
|
||||
run: tox -e ${{ matrix.test }}
|
||||
- run: tox -e ${{ matrix.test }}
|
||||
- name: submit coverage report
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -8,9 +8,14 @@ changedir = {toxinidir}/tests
|
|||
setenv =
|
||||
HOME=/tmp
|
||||
ELASTIC_HOST={env:ELASTIC_HOST:localhost}
|
||||
ENABLE_LEGACY_SEARCH={env:ENABLE_LEGACY_SEARCH:0}
|
||||
commands =
|
||||
orchstr8 download
|
||||
blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
|
||||
datanetwork: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.datanetwork {posargs}
|
||||
other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs}
|
||||
|
||||
[testenv:blockchain_legacy_search]
|
||||
setenv =
|
||||
ENABLE_LEGACY_SEARCH=1
|
||||
commands =
|
||||
coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
|
||||
|
|
Loading…
Reference in a new issue