Commit 4b0c2e9
committed
Fix CI test failure: Make install-wp-tests.sh non-interactive
The script was prompting for user input when the test database already exists, causing CI to fail. This commit adds a check for CI environment ( variable) or non-interactive shell (! -t 0) and automatically proceeds with database recreation in those cases.
Fixes the Code Coverage Check failure on PR #700.1 parent 56c0de7 commit 4b0c2e9
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
| |||
0 commit comments