Commit cf534d6
committed
feat: improve CI integration test strategy and fix Codecov configuration
This commit addresses two critical CI issues:
1. Fix Codecov Action Configuration
- Change 'file' parameter to 'files' for codecov-action@v5
- Resolves "Unexpected input(s) 'file'" errors across all Python versions
2. Implement Comprehensive Integration Test Strategy
- Integration tests now run on:
* Push events to main/develop (catch issues after merge)
* PRs from same repository (where secrets are available)
* Manual workflow dispatch (for maintainer testing)
- For fork PRs (where secrets aren't available):
* Tests are skipped with clear logging explaining why
* Automated PR comment explains the security model
* Provides reassurance that tests will run after merge
3. Enhanced Logging and Feedback
- Better error messages when API key is missing
- Context-aware messages based on event type
- Clear documentation in workflow file
Security Considerations:
- Maintains GitHub's security model (no secrets for fork PRs)
- Ensures integration tests run before code reaches production
- Provides transparency to contributors about the process
This ensures that integration tests run reliably for all maintainer PRs
and pushes to main, while providing clear feedback to external contributors.1 parent 63fea08 commit cf534d6
1 file changed
+72
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
6 | 14 | | |
7 | 15 | | |
| 16 | + | |
| 17 | + | |
8 | 18 | | |
9 | 19 | | |
10 | 20 | | |
| |||
57 | 67 | | |
58 | 68 | | |
59 | 69 | | |
60 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
61 | 75 | | |
62 | 76 | | |
63 | 77 | | |
| |||
88 | 102 | | |
89 | 103 | | |
90 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
91 | 116 | | |
| 117 | + | |
92 | 118 | | |
93 | 119 | | |
94 | 120 | | |
| |||
111 | 137 | | |
112 | 138 | | |
113 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
114 | 185 | | |
115 | 186 | | |
116 | 187 | | |
| |||
0 commit comments