Merge branch 'fpliger/69_add_makefile' of github.com:anaconda/pyscript into fpliger/69_add_makefile

This commit is contained in:
Fabio Pliger
2022-05-05 13:08:55 -05:00

View File

@@ -8,7 +8,7 @@ app_dir ?= $(shell git rev-parse --show-prefix)
CONDA_ENV ?= ./env CONDA_ENV ?= ./env
env := $(CONDA_ENV) env := $(CONDA_ENV)
conda_run := conda run -p $(env)
.PHONY: clean .PHONY: clean
clean: clean:
@@ -39,7 +39,7 @@ build:
.PHONY: test .PHONY: test
test: test:
@echo "Tests are coming :( this is a placeholder and it's meant to fail!" @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 .PHONY: test-py
test-py: test-py: