Skip to content
Snippets Groups Projects
Unverified Commit e5780fe9 authored by Michael Youngstrom's avatar Michael Youngstrom Committed by GitHub
Browse files

Merge pull request #18491 from edx/youngstrom/remove-npm-from-unit

Remove NPM install for unittest runs
parents 9aff2fdf 17238132
Branches
Tags
No related merge requests found
......@@ -305,7 +305,8 @@ def install_prereqs():
print NO_PREREQ_MESSAGE
return
install_node_prereqs()
if not str2bool(os.environ.get('SKIP_NPM_INSTALL', 'False')):
install_node_prereqs()
install_python_prereqs()
log_installed_python_prereqs()
......
......@@ -31,6 +31,7 @@ set -e
PAVER_ARGS="-v"
PARALLEL="--processes=-1"
export SKIP_NPM_INSTALL="True"
# Skip re-installation of Python prerequisites inside a tox execution.
if [[ -n "$TOXENV" ]]; then
......
......@@ -42,6 +42,7 @@ passenv =
SELENIUM_HOST
SELENIUM_PORT
SHARD
SKIP_NPM_INSTALL
TEST_SUITE
deps =
django18: Django>=1.8,<1.9
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment