Skip to content

Commit

Permalink
use newer ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerre committed Nov 12, 2024
1 parent b9a6e15 commit 48c39f6
Showing 1 changed file with 47 additions and 41 deletions.
88 changes: 47 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,55 @@ on: [ push, pull_request ]
env:
MAVEN_OPTS: -Xmx1024M -Xss128M -XX:+CMSClassUnloadingEnabled
SELENIUM_DRIVER: "chrome"
SELENIUM_DRIVER_ARGS: "--headless window-size=1280,1024 --no-sandbox"
SELENIUM_DRIVER_ARGS: "no-sandbox ignore-certificate-errors remote-allow-origins=* disable-popup-blocking disable-default-apps disable-extensions-file-access-check disable-infobars disable-dev-shm-usage disable-gpu disable-search-engine
-choice-screen accept-lang=de-DE headless=new window-size=1280,1024"

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 11
distribution: adopt

- name: Set up test dependencies
run: |
sudo apt update
sudo apt install chromium-browser ffmpeg
- name: Restore Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: restore

- name: Build
run: |
mkdir ~/tmp
export TMPDIR=~/tmp
mvn -B clean install
- name: Upload logs on build failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
./**/surefire-reports
./**/result
- name: Save Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: save
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 11
distribution: adopt

- name: Set up chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable

- name: Set up test dependencies
run: |
sudo apt update
sudo apt install ffmpeg
- name: Restore Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: restore

- name: Build
run: |
mkdir ~/tmp
export TMPDIR=~/tmp
mvn -B clean install
- name: Upload logs on build failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
./**/surefire-reports
./**/result
- name: Save Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: save

0 comments on commit 48c39f6

Please sign in to comment.