Commit 227c559
Guilherme Souza
test: add tests for HTTPError and PostgrestError types (#737)
* test(AnyJSON): add comprehensive and edge-case tests for AnyJSON
Covers value accessors, literal initializers, error handling, extensions, and edge cases to ensure full correctness and robustness.
* test(helpers): add comprehensive tests for HTTPError
Add tests for the HTTPError type covering initialization, property access, and LocalizedError conformance for various data scenarios. Ensures robust error reporting and future-proofing for HTTP error handling.
* ci: split linux_android job into separate linux and android jobs
- Split combined linux_android job into separate linux and android jobs for better isolation
- Uncomment library-evolution job that was previously commented out
- Improve CI workflow organization and maintainability
* test: add PostgrestError LocalizedError conformance test
- Add test to verify PostgrestError properly conforms to LocalizedError protocol
- Test ensures errorDescription property returns the expected error message
- Improves test coverage for error handling functionality
* ci: run library evolution step on latest Xcode
* ci: run evolution on latest macos
* perf(ci): optimize platform coverage to reduce build times
- Remove Xcode 15.2 testing (keep only 15.4 for backward compatibility)
- Remove tvOS, visionOS, and watchOS platforms (less critical for backend SDK)
- Keep iOS, macOS, and macCatalyst for comprehensive coverage
- Maintain Linux and Android cross-platform testing
- Expected 50-60% reduction in CI time while maintaining good coverage
This optimization focuses on the most commonly used platforms while
significantly reducing CI resource usage and wait times.
* ci: comment out Android job1 parent 56da0a9 commit 227c559
File tree
6 files changed
+580
-100
lines changed- .github/workflows
- Tests/HelpersTests
6 files changed
+580
-100
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 64 | + | |
| 65 | + | |
73 | 66 | | |
74 | 67 | | |
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
78 | 71 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 72 | | |
87 | 73 | | |
88 | 74 | | |
| |||
104 | 90 | | |
105 | 91 | | |
106 | 92 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
110 | 96 | | |
111 | 97 | | |
112 | 98 | | |
113 | 99 | | |
114 | | - | |
| 100 | + | |
115 | 101 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
129 | 105 | | |
130 | 106 | | |
131 | 107 | | |
132 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
133 | 112 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
146 | 117 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
156 | 130 | | |
157 | 131 | | |
158 | 132 | | |
| |||
186 | 160 | | |
187 | 161 | | |
188 | 162 | | |
189 | | - | |
| 163 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
| |||
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| |||
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
88 | 83 | | |
89 | | - | |
| 84 | + | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | 88 | | |
94 | 89 | | |
95 | 90 | | |
96 | | - | |
97 | | - | |
| 91 | + | |
| 92 | + | |
0 commit comments