https://github.com/tensorly/tensorly
Revision db1eb97a113d2dfe213e4053969f0aeef2884a9e authored by Aaron Meyer on 25 September 2022, 18:01:17 UTC, committed by GitHub on 25 September 2022, 18:01:17 UTC
Fix the documentation build by pinning the matplotlib version
2 parents a628f79 + fed449d
Raw File
Tip revision: db1eb97a113d2dfe213e4053969f0aeef2884a9e authored by Aaron Meyer on 25 September 2022, 18:01:17 UTC
Merge pull request #450 from tensorly/fix-docs
Tip revision: db1eb97
Makefile
# Automate testing etc
BACKEND?='numpy'

.PHONY: all test install clean debug

all: install test

install:
	pip install -e .

debug:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --pdb tensorly

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

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

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

back to top