diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 324d191f..5bf1a7d8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,8 @@ jobs: strategy: matrix: java: [ '21' ] - os: [ 'ubuntu-latest' ] + os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ] + fail-fast: false runs-on: ${{ matrix.os }} diff --git a/praxiscore-hub-net/src/test/java/org/praxislive/hub/net/FileServerTest.java b/praxiscore-hub-net/src/test/java/org/praxislive/hub/net/FileServerTest.java index f5d3e328..92c73731 100644 --- a/praxiscore-hub-net/src/test/java/org/praxislive/hub/net/FileServerTest.java +++ b/praxiscore-hub-net/src/test/java/org/praxislive/hub/net/FileServerTest.java @@ -39,7 +39,7 @@ public class FileServerTest { @Test public void testFileServer() throws IOException { - var rootDir = Files.createTempDirectory("px-fileserver-test"); + var rootDir = Files.createTempDirectory("px-fileserver-test").toRealPath(); var allowedDir = Files.createDirectory(rootDir.resolve("allowed")); var allowedFile = Files.writeString(allowedDir.resolve("allowed-text.txt"), "ALLOWED", StandardOpenOption.CREATE_NEW); diff --git a/testsuite/runner.pxr b/testsuite/runner.pxr index 96594e16..bfe2cdbc 100644 --- a/testsuite/runner.pxr +++ b/testsuite/runner.pxr @@ -15,7 +15,7 @@ import java.nio.file.Path; public class Utils \{ public static Path findLauncher() throws Exception \{ - var launcherName = Platform.isWindows() ? \"praxis.bat\" : \"praxis\"; + var launcherName = Platform.isWindows() ? \"praxis.cmd\" : \"praxis\"; var appHome = System.getProperty(\"app.home\"); if (appHome != null) \{ Path launcher = Path.of(appHome) @@ -119,7 +119,7 @@ import java.nio.file.Files; - final long TIMEOUT = Long.getLong(\"testsuite.timeout\", 20000); + final long TIMEOUT = Long.getLong(\"testsuite.timeout\", 60000); final String SEP = System.lineSeparator(); @P(1)