Makefile 495 Bytes
Newer Older
Gmodena's avatar
Gmodena committed
1
2
SHELL := /bin/bash

Gmodena's avatar
Gmodena committed
3
include ../Makefile.conda
Gmodena's avatar
Gmodena committed
4

Gmodena's avatar
Gmodena committed
5
6
7
8
9
mypy: ${pip_requirements_test}
	${DOCKER_CMD} bash -c "export CONDA_ALWAYS_YES=true; ${CONDA_CMD}; \
    					pip install -r ${pip_requirements_test}; \
    					mypy spark"

Gmodena's avatar
Gmodena committed
10
11
12
13
14
test:   ${pip_requirements_test}
	${DOCKER_CMD} bash -c "export CONDA_ALWAYS_YES=true; ${CONDA_CMD}; \
					conda install openjdk pyspark==${pyspark_version}; \
					pip install -r ${pip_requirements_test}; \
					PYTHONPATH=${PYTHONPATH}:spark/ pytest --cov spark tests/"