From 099b0b65c0c9847f9663ebed2484b9ed1bbd3626 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Mon, 16 Dec 2019 12:59:15 -0500 Subject: [PATCH] run torba unit tests the way lex runs them --- .gitlab-ci.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 241a4d6b0..724aa637e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,29 +29,25 @@ test:lbry-unit: - make install tools - cd lbry && HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit - test:lbry-integ: stage: test script: - pip install coverage tox-travis - cd lbry && tox - -.torba-tests: &torba_tests +test:torba-unit: stage: test script: - pip install coverage tox-travis - - cd torba && tox - -test:torba-unit: - before_script: - - export TESTTYPE=unit - <<: *torba_tests + - cd torba/tests + - tox -e py37-unit test:torba-integ: - before_script: - - export TESTTYPE=integration - <<: *torba_tests + stage: test + script: + - pip install coverage tox-travis + - cd torba/tests + - tox -e py37-integration-torba.coin.bitcoinsegwit test:json-api: stage: test