You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CI-CD-TESTING.md
+42-2Lines changed: 42 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,24 @@ The PostgreSQL testing workflow is triggered automatically on:
13
13
14
14
## Test Scope
15
15
16
-
The workflow tests the **latest 5 PostgreSQL versions** from `releases.properties` by default. This ensures recent versions are validated while keeping CI runtime reasonable.
16
+
The workflow intelligently determines which versions to test based on the context:
17
+
18
+
### Pull Request Testing
19
+
-**Smart Detection**: Automatically detects which PostgreSQL versions were added or modified in the PR
20
+
-**Targeted Testing**: Only tests the versions that changed in `releases.properties`
21
+
-**Efficiency**: Reduces CI runtime by testing only relevant versions
22
+
-**Fallback**: If no version changes detected, tests the latest 5 stable versions
23
+
-**Exclusions**: Automatically excludes RC (Release Candidate), beta, and alpha versions
24
+
25
+
### Manual Testing
26
+
- Tests a specific version provided as input parameter
27
+
- Useful for re-testing or validating specific versions
28
+
29
+
### Example Scenarios
30
+
-**Add PostgreSQL 17.5**: Only version 17.5 is tested
31
+
-**Add versions 16.9 and 17.5**: Both versions are tested
32
+
-**Modify existing version URL**: That specific version is tested
33
+
-**Non-version changes**: Latest 5 stable versions tested as fallback
17
34
18
35
## Test Phases
19
36
@@ -149,11 +166,34 @@ Each version's summary includes:
149
166
150
167
## Error Handling
151
168
169
+
The workflow provides comprehensive error reporting at multiple levels:
170
+
171
+
### Detailed Error Messages
172
+
173
+
Each phase captures and reports specific error information:
174
+
175
+
-**Download failures**: HTTP status codes, error messages, attempted URLs
0 commit comments