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
**When validating your changes before finishing, you MUST wait for the hardware build to complete successfully. Set the timeout appropriately and be patient.**
107
134
108
135
## Troubleshooting
109
136
@@ -129,11 +156,17 @@ package.json # Node.js dependencies and scripts
129
156
-**Hardware builds require appropriate ESP32/ESP8266 development board**
130
157
131
158
## CI/CD Pipeline
132
-
The GitHub Actions workflow:
159
+
160
+
**The GitHub Actions CI workflow will:**
133
161
1. Installs Node.js and Python dependencies
134
-
2. Runs `npm test` to validate build system
135
-
3. Builds web UI with `npm run build`
136
-
4. Compiles firmware for multiple hardware targets
162
+
2. Runs `npm test` to validate build system (MUST pass)
163
+
3. Builds web UI with `npm run build`(automatically run by PlatformIO)
164
+
4. Compiles firmware for ALL hardware targets listed in `default_envs` (MUST succeed for all)
137
165
5. Uploads build artifacts
138
166
139
-
Match this workflow in your local development to ensure CI success.
167
+
**To ensure CI success, you MUST locally:**
168
+
- Run `npm test` and ensure it passes
169
+
- Run `pio run -e esp32dev` (or another common environment from "Hardware Compilation" section) and ensure it completes successfully
170
+
- If either fails locally, it WILL fail in CI
171
+
172
+
**Match this workflow in your local development to ensure CI success. Do not mark work complete until you have validated builds locally.**
0 commit comments