Commit 746ccc7 1 parent 5c5639d commit 746ccc7 Copy full SHA for 746ccc7
File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -54,19 +54,13 @@ install: venv ## Install xDEM for development (depends on venv)
54
54
@test -f .git/hooks/pre-commit || echo " Installing pre-commit hooks"
55
55
@test -f .git/hooks/pre-commit || ${VENV} /bin/pre-commit install -t pre-commit
56
56
@test -f .git/hooks/pre-push || ${VENV} /bin/pre-commit install -t pre-push
57
- @echo " xdem installed in development mode in virtualenv ${VENV} "
57
+ @echo " xDEM installed in development mode in virtualenv ${VENV} "
58
58
@echo " To use: source ${VENV} /bin/activate; xdem -h"
59
59
60
60
61
- .PHONY : test
62
- test : # # run tests
63
- @if ! ${VENV} /bin/python -m pip show gdal > /dev/null 2>&1 ; then \
64
- echo " Error: GDAL is not installed in the virtual environment. Tests require GDAL to run." ; \
65
- echo " Please ensure GDAL is installed by running 'make install-gdal'." ; \
66
- exit 1; \
67
- else \
68
- ${VENV} /bin/pytest; \
69
- fi
61
+ .PHONY : tests
62
+ tests : # # run tests
63
+ @${VENV} /bin/pytest
70
64
71
65
# # Clean section
72
66
You can’t perform that action at this time.
0 commit comments