mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Added explicit testing during container build. It isn't possible to build the container if it doesn'nt pass the tests.
This commit is contained in:
4
Makefile
4
Makefile
@@ -29,7 +29,7 @@ tree:
|
||||
@echo Generating Tree
|
||||
python3 main.py build tree -D 2 --no-signal
|
||||
|
||||
build:
|
||||
build: clean
|
||||
@echo "🔧 Generating users defaults → $(USERS_OUT)…"
|
||||
python3 $(USERS_SCRIPT) \
|
||||
--roles-dir $(ROLES_DIR) \
|
||||
@@ -56,7 +56,7 @@ build:
|
||||
install: build
|
||||
@echo "⚙️ Install complete."
|
||||
|
||||
test:
|
||||
test: build
|
||||
@echo "🧪 Running Python tests…"
|
||||
python -m unittest discover -s tests
|
||||
@echo "📑 Checking Ansible syntax…"
|
||||
|
Reference in New Issue
Block a user