Skip to content

Commit f847ad0

Browse files
committed
ci: enhance image testing scripts with strict error handling
1 parent 9a760f7 commit f847ad0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/image.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919

2020
- name: Test image functionality
2121
run: |
22+
set -euxo pipefail
23+
2224
# Test server startup
2325
docker run -d --name test-server -p 8000:8000 glim-test
2426
@@ -69,6 +71,8 @@ jobs:
6971
7072
- name: Test image size
7173
run: |
74+
set -euxo pipefail
75+
7276
# Check Docker image size against limits
7377
# Usage: check_image_size <image_name> <max_size_str>
7478
# Returns: 0=OK, 1=too large, 2=warning (>90% of limit), -1=error

0 commit comments

Comments
 (0)