Skip to content

Commit 746ccc7

Browse files
authored
Remove GDAL from Makefile tests (#680)
1 parent 5c5639d commit 746ccc7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

Makefile

+4-10
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,13 @@ install: venv ## Install xDEM for development (depends on venv)
5454
@test -f .git/hooks/pre-commit || echo "Installing pre-commit hooks"
5555
@test -f .git/hooks/pre-commit || ${VENV}/bin/pre-commit install -t pre-commit
5656
@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}"
5858
@echo "To use: source ${VENV}/bin/activate; xdem -h"
5959

6060

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
7064

7165
## Clean section
7266

0 commit comments

Comments
 (0)