Skip to content

Commit

Permalink
XVFB action
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Nov 24, 2024
1 parent 9ca7855 commit 65e19c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ jobs:
- name: Build with Gradle
run: ./gradlew assemble checkFormatting

- name: Test Production Client
run: ./gradlew testProductionClient

- name: Run JCC
if: ${{ ! startsWith(github.event.pull_request.head.ref, 'port/') && ! startsWith(github.ref_name, 'port/') && ! startsWith(github.event.pull_request.base.ref, 'port/') }}
run: ./gradlew checkJarCompatibility
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
- name: Run JUnit tests with Gradle
run: ./gradlew :tests:runUnitTests

- name: Install software OpenGL rendering
run: sudo apt-get install xvfb libgl1-mesa-dri

- name: Run production client
run: DRI_PRIME=0 xvfb-run ./gradlew :neoforge:testProductionClient

- name: Store reports
if: failure()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 65e19c7

Please sign in to comment.