Commit 4516a4a0 authored by Gmodena's avatar Gmodena
Browse files

Minor fixes

parent 10f8ce36
......@@ -4,14 +4,14 @@ spark_home = spark-${spark_version}-bin-hadoop${hadoop_version}
spark_tgz_url =${spark_version}/${spark_home}.tgz
venv: requirements.txt
test -d venv || python -m venv venv
. venv/bin/activate; pip install -Ur requirements.txt;
test -d venv || python3 -m venv venv
. venv/bin/activate; pip3 install -Ur requirements.txt;
test -d ${spark_version} || wget ${spark_tgz_url}; tar -xzvf ${spark_home}.tgz
test -d ${spark_home} || (wget ${spark_tgz_url}; tar -xzvf ${spark_home}.tgz)
rm -r ${spark_home}
test: install_spark venv
. venv/bin/activate; pytest --cov etl
. venv/bin/activate; pytest --cov etl tests/
Supports Markdown
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