From fb86a176ba24b84ae8192d3b81e2083c6fbd723c Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 16 May 2021 14:03:43 +0200 Subject: [PATCH] Properly push test artifacts Cf. https://www.appveyor.com/docs/packaging-artifacts/#pushing-artifacts-from-scripts. Closes GH-6990. --- appveyor/test_task.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index c1991d88365..93612292bb9 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -104,6 +104,6 @@ nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set set EXIT_CODE=%errorlevel% -powershell -Command "$wc = New-Object 'System.Net.WebClient'; $wc.UploadFile('https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%', 'c:\junit.out.xml')" +appveyor PushArtifact %TEST_PHP_JUNIT% exit /b %EXIT_CODE%