Skip to content

Commit

Permalink
Try run scala-cli tests without bloop to workaround concurrent compil…
Browse files Browse the repository at this point in the history
…ation issues
  • Loading branch information
WojciechMazur committed Mar 27, 2024
1 parent d0d2e34 commit 26274be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ jobs:
run: sbt "test"
- name: Test runtime
run: |
diff <(scala-cli run input/build.scala input/src/main/scala/test/Example1.scala) <(scala-cli run output/build.scala output/src/main/scala/test/Example1.scala)
diff <(scala-cli run input/build.scala input/src/main/scala/test/Example2.scala) <(scala-cli run output/build.scala output/src/main/scala/test/Example2.scala)
opts="--server=false"
tests=src/main/scala/test
diff <(scala-cli run input/build.scala input/$tests/Example1.scala $opts) <(scala-cli run output/build.scala output/$tests/Example1.scala $opts)
diff <(scala-cli run input/build.scala input/$tests/Example2.scala $opts) <(scala-cli run output/build.scala output/$tests/Example2.scala $opts)

0 comments on commit 26274be

Please sign in to comment.