From d5e7ccdc4d4b88ccf38e6e7163a960315714440a Mon Sep 17 00:00:00 2001 From: Stefan Hausotte Date: Sun, 8 Mar 2026 18:24:07 +0100 Subject: [PATCH] ci: add clean up command for integration tests --- justfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/justfile b/justfile index aaaf138..168740b 100644 --- a/justfile +++ b/justfile @@ -64,6 +64,13 @@ docker-down: docker compose -f {{compose_file}} down -v 2>/dev/null || true rm -f /tmp/forgejo_test_url.txt /tmp/forgejo_test_url_*.txt +# Clear integration test caches (seed snapshots, temp files) +clean-integration: + rm -f integration/.forgejo-seed-snapshot.tar.gz integration/.forgejo-seed-hash + rm -f /tmp/forgejo_test_url.txt /tmp/forgejo_test_url_*.txt + rm -f /tmp/forgejo_test_token.txt /tmp/forgejo_test_token_*.txt + @echo "Integration test caches cleared." + # Seed test data into Forgejo instances (with snapshot caching) seed: #!/usr/bin/env bash