diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 324d191f..6f9f7e47 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: java: [ '21' ] - os: [ 'ubuntu-latest' ] + os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ] 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);