-
-
Save cmb69/4bfcb3c34ca995ffc2436f40787e932f to your computer and use it in GitHub Desktop.
Run bless_tests.php on failing tests on AppVeyor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appveyor/test_task.bat | 6 ++++++ | |
1 file changed, 6 insertions(+) | |
diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat | |
index 7c559daee9..d9b477847c 100644 | |
--- a/appveyor/test_task.bat | |
+++ b/appveyor/test_task.bat | |
@@ -118,4 +118,10 @@ set EXIT_CODE=%errorlevel% | |
appveyor PushArtifact %TEST_PHP_JUNIT% | |
+if %EXIT_CODE% GEQ 1 ( | |
+ nmake run ARGS="scripts/dev/bless_tests.php ." | |
+ git diff > bless_tests.patch | |
+ appveyor PushArtifact bless_tests.patch | |
+) | |
+ | |
exit /b %EXIT_CODE% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment