Skip to content

Commit

Permalink
Get all test commands at once in Windows IT job
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
alexarchambault committed Jul 16, 2023
1 parent f100e04 commit fd289e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/scripts/run/run-its.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd289e3

Please sign in to comment.