Add tests
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: clean build install test help
|
||||
.PHONY: clean build install test test-deps help
|
||||
|
||||
# Default target
|
||||
help:
|
||||
@@ -6,7 +6,8 @@ help:
|
||||
@echo " clean - Remove build artifacts and cache files"
|
||||
@echo " build - Build the wheel package"
|
||||
@echo " install - Install the package in development mode"
|
||||
@echo " test - Run tests (if available)"
|
||||
@echo " test - Run the test suite"
|
||||
@echo " test-deps - Install test dependencies"
|
||||
@echo " help - Show this help message"
|
||||
|
||||
# Clean build artifacts
|
||||
@@ -33,10 +34,15 @@ install:
|
||||
@echo "Installing package in development mode..."
|
||||
pip install -e .
|
||||
|
||||
# Test the package (placeholder for when tests are added)
|
||||
# Install test dependencies
|
||||
test-deps:
|
||||
@echo "Installing test dependencies..."
|
||||
pip install -e ".[test]"
|
||||
|
||||
# Test the package
|
||||
test:
|
||||
@echo "Running tests..."
|
||||
@echo "No tests configured yet."
|
||||
python3 run_tests.py
|
||||
|
||||
# Rebuild and reinstall (useful during development)
|
||||
dev: clean build
|
||||
|
Reference in New Issue
Block a user