]> git.phdru.name Git - sqlconvert.git/blobdiff - tests/Makefile
Remove publish-docs
[sqlconvert.git] / tests / Makefile
index b990065cfd8bab40e800e4f3987644c570fca99e..444794bf8c284281e5c7b89b87c3917f8b7a09b8 100644 (file)
@@ -1,4 +1,22 @@
 
 .PHONY: all
-all:
-       ./run_all.py
+all: nodb postgres sqlite clean
+
+.PHONY: nodb
+nodb:
+       PYTHONPATH=.. python -m  pytest
+
+.PHONY: postgres
+postgres:
+       createdb test
+       PYTHONPATH=.. python -m  pytest -D postgres:///test
+       dropdb test
+
+.PHONY: sqlite
+sqlite:
+       PYTHONPATH=.. python -m  pytest -D sqlite:///tmp/test.sqdb
+       rm -f /tmp/test.sqdb
+
+.PHONY: clean
+clean:
+       rm -f *.tmp