Skip to content

Commit

Permalink
Adds display to ubuntu container and runs tests with display.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Gasser <[email protected]>
  • Loading branch information
ppanopticon committed Aug 23, 2024
1 parent 50e609d commit cba45f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:

# Start actual job.
steps:
- name: Set up Xvfb
run: Xvfb :1 -ac -screen 0 1024x768x24 &
- name: Checkout code
uses: actions/checkout@v4
- name: Cottontail DB connection test
Expand All @@ -48,7 +50,7 @@ jobs:
restore-keys: ${{ runner.os }}-gradle
- name: Test with gradle ubuntu
if: matrix.os == 'ubuntu-latest'
run: ./gradlew test --info
run: DISPLAY=:1 ./gradlew test --info
- name: Test with gradle windows
if: matrix.os == 'windows-latest'
run: ./gradlew test --info

0 comments on commit cba45f5

Please sign in to comment.