mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Added partial test and skip-build flag
This commit is contained in:
5
Makefile
5
Makefile
@@ -61,8 +61,11 @@ build: clean dockerignore
|
||||
install: build
|
||||
@echo "⚙️ Install complete."
|
||||
|
||||
test: build
|
||||
partial-test:
|
||||
@echo "🧪 Running Python tests…"
|
||||
python -m unittest discover -s tests
|
||||
@echo "📑 Checking Ansible syntax…"
|
||||
ansible-playbook playbook.yml --syntax-check
|
||||
|
||||
test: build partial-test
|
||||
@echo "Full test with build terminated."
|
||||
|
Reference in New Issue
Block a user