mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup-cleanup.git
synced 2025-12-31 04:29:08 +00:00
- migrate to pyproject.toml and pip installation - introduce cleanback CLI entrypoint - add unit and Docker-based end-to-end tests - unify GitHub Actions CI and stable tagging - remove legacy tests.yml and pkgmgr requirements https://chatgpt.com/share/69517d20-f850-800f-b6ff-6b983247888f
18 lines
377 B
Makefile
18 lines
377 B
Makefile
# Makefile for Cleanup Failed Backups
|
|
|
|
.PHONY: install help test test-unit test-e2e
|
|
|
|
help:
|
|
@echo "Available targets:"
|
|
@echo " make test - Run unit tests"
|
|
|
|
test: test-unit test-e2e
|
|
|
|
test-unit:
|
|
@echo ">> Running tests"
|
|
@python3 -m unittest -v tests/unit/test_main.py
|
|
|
|
test-e2e:
|
|
docker build -f tests/e2e/Dockerfile.e2e -t cleanback-e2e .
|
|
docker run --rm cleanback-e2e
|