diff makefile @ 2167:aecbcddccfea

get pytest running
author drewp@bigasterisk.com
date Thu, 18 May 2023 14:13:40 -0700
parents 83f9fbc0a003
children c921e1cae0af
line wrap: on
line diff
--- a/makefile	Thu May 18 12:56:52 2023 -0700
+++ b/makefile	Thu May 18 14:13:40 2023 -0700
@@ -60,25 +60,12 @@
 
 deps: js py
 
-
-tkdnd_build:
-	# get tkdnd r95 with subversion
-	# then apply tkdnd-patch-on-r95 to that
-	cd tkdnd/trunk
-	./configure
-	make
-
 push_github:
 	hg bookmark -r default main && hg push git+ssh://git@github.com/drewp/light9.git
 
 pull_github:
 	hg pull git+ssh://git@github.com/drewp/light9.git
 
-### build ###
-
-coffee:
-	zsh -c 'cd light9/web; ../../node_modules/coffeescript/bin/coffee --map -cw {.,live,timeline,paint,effects}/*.coffee'
-
 ### show ###
 
 qlc_artnet_dmx_proxy:
@@ -113,17 +100,11 @@
 
 ### testing ###
 
-NOSEARGS="--no-path-adjustment light9.rdfdb.rdflibpatch light9.rdfdb.patch light9.effecteval.test_effect light9.collector light9.rdfdb.graphfile_test light9.paint light9.effect"
-
-tests:
-	eval pdm run nosetests -x $(NOSEARGS)
+pytest:
+	pdm run pytest
 
-tests_watch:
-	eval pdm run nosetests --with-watcher $(NOSEARGS)
-
-
-tests_coverage:
-	eval pdm run nosetests --with-coverage --cover-erase --cover-html --cover-html-dir=/tmp/light9-cov/  --cover-package=light9 --cover-branches $(NOSEARGS)
+pytest_watch:
+	pdm run ptw
 
 test_js_init:
 	npm install