From fd289e3bfa8535fd0c17c23b6bdc3af5e6f02c3f Mon Sep 17 00:00:00 2001 From: Alex Archambault Date: Mon, 17 Jul 2023 00:46:14 +0200 Subject: [PATCH] Get all test commands at once in Windows IT job Seems getting one command after having run the previous one sometimes fails because of errors like ``` shared.kernel[2.13.11].publishLocalNoFluff java.nio.file.FileSystemException: D:\a\almond\almond\out\repo\0.14.0-RC11-24-0b7b5658-SNAPSHOT\sh.almond\kernel_2.13\0.14.0-RC11-24-0b7b5658-SNAPSHOT\jars\kernel_2.13.jar: The process cannot access the file because it is being used by another process. ``` --- .github/scripts/run/run-its.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/run/run-its.sh b/.github/scripts/run/run-its.sh index 41206f1e7..09fc728a9 100755 --- a/.github/scripts/run/run-its.sh +++ b/.github/scripts/run/run-its.sh @@ -22,16 +22,17 @@ trap "jps -mlv" EXIT if [ "$(expr substr $(uname -s) 1 5 2>/dev/null)" == "MINGW" ]; then ./mill -i show "scala.integration.test.testCommand" "almond.integration.KernelTestsTwoStepStartup212.*" > test-args-212.json + ./mill -i show "scala.integration.test.testCommand" "almond.integration.KernelTestsTwoStepStartup213.*" > test-args-213.json + ./mill -i show "scala.integration.test.testCommand" "almond.integration.KernelTestsTwoStepStartup3.*" > test-args-3.json + cat test-args-212.json "$RUN_APP" test-args-212.json checkResults - ./mill -i show "scala.integration.test.testCommand" "almond.integration.KernelTestsTwoStepStartup213.*" > test-args-213.json cat test-args-213.json "$RUN_APP" test-args-213.json checkResults - ./mill -i show "scala.integration.test.testCommand" "almond.integration.KernelTestsTwoStepStartup3.*" > test-args-3.json cat test-args-3.json "$RUN_APP" test-args-3.json checkResults