mirror of
https://github.com/lobaro/restic-backup-docker.git
synced 2026-11-13 15:45:22 +00:00
test: move structure.yml to tests and remove cst volume leak
container-structure-test left one anonymous volume per test container. tests/structure.py runs it with --save and removes the new containers with their volumes afterwards. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c65537c013
commit
a6c83de07e
5 files changed
+72
-23
No files matched your search
+2
-2
@@ -32,9 +32,9 @@ tasks:
|
||||
- task: test:features
|
||||
|
||||
test:structure:
|
||||
desc: Run container-structure-test against the image
|
||||
desc: Run container-structure-test against the image and remove its containers and volumes
|
||||
cmds:
|
||||
- container-structure-test test --image {{.IMAGE}} --config test/structure.yml
|
||||
- uv run python tests/structure.py
|
||||
|
||||
test:compat:
|
||||
desc: Run the compat tests
|
||||
|
||||
Reference in new issue
Block a user