refactor: update test file naming conventions for clarity and consistency
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m22s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m22s
This commit is contained in:
@@ -187,8 +187,8 @@ jobs:
|
||||
echo "--- Cleaning up test-generated flyer assets ---"
|
||||
# Use find to delete files within the directories, but not the directories themselves.
|
||||
# Target only the specific test files by name pattern.
|
||||
find "$APP_PATH/flyer-images" -type f -name '*-test-flyer-image.jpg' -delete
|
||||
find "$APP_PATH/flyer-images/icons" -type f -name '*test-flyer-image.webp' -delete
|
||||
find "$APP_PATH/flyer-images" -type f -name '*-test-flyer-image.*' -delete
|
||||
find "$APP_PATH/flyer-images/icons" -type f -name '*-test-flyer-image.*' -delete
|
||||
find "$APP_PATH/flyer-images/archive" -mindepth 1 -maxdepth 1 -type f -delete || echo "Archive directory not found, skipping."
|
||||
echo "✅ Test artifacts cleared from asset directories."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user