Skip to content

Commit

Permalink
Maybe fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Jan 2, 2025
1 parent 30b2397 commit 10dc5c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install Xvfb
if: ${{ matrix.test == 'net.fabricmc.loom.test.integration.RunConfigTest' }}
run: sudo apt-get install -y xvfb
- name: setup jdk
uses: actions/setup-java@v4
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ protected void configureCommand(ExecSpec exec) {
throw new UnsupportedOperationException("XVFB is only supported on Linux");
}

exec.commandLine("/usr/bin/xvfb-run", "-a");
exec.commandLine("/usr/bin/xvfb-run");
exec.args("-a", getJavaLauncher().get().getExecutablePath());

return;
}

super.configureCommand(exec);
Expand Down

0 comments on commit 10dc5c5

Please sign in to comment.