Skip to content

Commit

Permalink
Add CI testing across all OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcsmith-net committed Nov 11, 2023
1 parent 061fa9f commit 543ffb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion testsuite/runner.pxr
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 543ffb4

Please sign in to comment.