diff --git a/tests/test_parse_file.py b/tests/test_parse_file.py index 2dfd0d8..7bf3cdc 100644 --- a/tests/test_parse_file.py +++ b/tests/test_parse_file.py @@ -227,6 +227,17 @@ from compose_viz.parser import Parser ), ], ), + Service( + name="tmp", + image="awesome/nginx", + volumes=[ + Volume( + source="/app", + target="/app", + type=VolumeType.tmpfs, + ), + ], + ), ], ), ), diff --git a/tests/ymls/volumes/docker-compose.yml b/tests/ymls/volumes/docker-compose.yml index 4edb77c..71eed34 100644 --- a/tests/ymls/volumes/docker-compose.yml +++ b/tests/ymls/volumes/docker-compose.yml @@ -17,6 +17,11 @@ services: service: common volumes: - cli-volume:/var/lib/backup/data:ro + tmp: + image: awesome/nginx + volumes: + - type: tmpfs + target: /app volumes: common-volume: