mirror of
https://codeberg.org/secana/Forji.git
synced 2026-06-16 05:13:55 -07:00
ci: add clean up command for integration tests
This commit is contained in:
parent
ac49851639
commit
d5e7ccdc4d
1 changed files with 7 additions and 0 deletions
7
justfile
7
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue