Revision c6fcf5936e48c30dbeae1296f415b1362a712049 authored by lan496 on 15 November 2019, 16:47:21 UTC, committed by lan496 on 15 November 2019, 16:47:21 UTC
1 parent c80f0a0
Raw File
Makefile
# Automate testing etc
BACKEND?='numpy'

all: install test

install:
	pip install -e .

test:
	TENSORLY_BACKEND=$(BACKEND) pytest -v tensorly

test-all:
	TENSORLY_BACKEND='mxnet' pytest -v tensorly
	TENSORLY_BACKEND='numpy' pytest -v tensorly
	TENSORLY_BACKEND='pytorch' pytest -v tensorly

test-coverage:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly

back to top