New web interface, move llm engine to separate process
This commit is contained in:
20
Makefile
20
Makefile
@@ -127,21 +127,17 @@ lint-rust: ## Lint Rust code
|
||||
# ==================
|
||||
|
||||
.PHONY: test
|
||||
test: test-python test-rust ## Run all tests
|
||||
test: test-sia test-xml_schema_validator
|
||||
|
||||
.PHONY: test-python
|
||||
test-python: ## Run Python tests
|
||||
.PHONY: test-sia
|
||||
test-sia:
|
||||
@echo "Running Python tests..."
|
||||
python -m pytest -xvs
|
||||
/root/venvs/sia/bin/python -m unittest discover -s test -p "*_test.py"
|
||||
|
||||
.PHONY: test-rust
|
||||
test-rust: ## Run Rust tests
|
||||
.PHONY: test-xml_schema_validator
|
||||
test-xml_schema_validator:
|
||||
@echo "Running Rust tests..."
|
||||
for dir in $(RUST_DIRS); do \
|
||||
if [ -f "$$dir/Cargo.toml" ]; then \
|
||||
(cd "$$dir" && cargo test); \
|
||||
fi; \
|
||||
done
|
||||
cd lib/xml_schema_validator && cargo test
|
||||
|
||||
# ==================
|
||||
# Build targets
|
||||
@@ -183,4 +179,4 @@ help: ## Show this help message
|
||||
.PHONY: collect
|
||||
collect: ## Run collect.sh script
|
||||
@echo "Running collect.sh script..."
|
||||
./scripts/collect.sh -s core -s lib -s webui -o collect.txt
|
||||
./scripts/collect.sh -s core -s tests
|
||||
Reference in New Issue
Block a user