diff --git a/pyscriptjs/Makefile b/pyscriptjs/Makefile index 7bb528d5..9acbf860 100644 --- a/pyscriptjs/Makefile +++ b/pyscriptjs/Makefile @@ -8,7 +8,7 @@ app_dir ?= $(shell git rev-parse --show-prefix) CONDA_ENV ?= ./env env := $(CONDA_ENV) - +conda_run := conda run -p $(env) .PHONY: clean clean: @@ -39,7 +39,7 @@ build: .PHONY: test test: @echo "Tests are coming :( this is a placeholder and it's meant to fail!" - $(env)/bin/pytest -vv $(ARGS) tests/ --log-cli-level=warning + $(conda_run) pytest -vv $(ARGS) tests/ --log-cli-level=warning .PHONY: test-py test-py: