Decouple from run-tests.sh

This commit is contained in:
Oliver Charlesworth
2018-04-07 23:13:06 +01:00
parent b9cd7c2a5e
commit ef2fb0aaa4
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ install:
# command to run the dependencies
script:
- 'if [[ -n "$RUN_INTEGRATION_TESTS" ]]; then rm -fr ~/.cache/pip; fi'
- "pipenv run bash ./run-tests.sh"
- 'export PYPI_VENDOR_DIR="$(pwd)/tests/pypi/"'
- 'pipenv run time pytest -v -n auto tests -m "$TEST_SUITE" --tap-stream'
jobs:
include:
+1 -2
View File
@@ -5,8 +5,7 @@
set -eo pipefail
# Set the PYPI vendor URL for pytest-pypi.
PYPI_VENDOR_DIR="$(pwd)/tests/pypi/"
export PYPI_VENDOR_DIR
export PYPI_VENDOR_DIR="$(pwd)/tests/pypi/"
if [[ ! -z "$TEST_SUITE" ]]; then
echo "Using TEST_SUITE=$TEST_SUITE"