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 ba76276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
java: [ '21' ]
os: [ 'ubuntu-latest' ]
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]

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

0 comments on commit ba76276

Please sign in to comment.