Skip to content

adds alpha status badge #22

adds alpha status badge

adds alpha status badge #22

Workflow file for this run

name: Java CI
on: [ push ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: maven
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: Build app with Maven
run: ./mvnw -B package -DskipTests
unit-tests:
runs-on: ubuntu-24.04
steps:
- name: Sops Binary Installer
uses: mdgreenwald/mozilla-sops-action@v1.6.0
with:
version: '3.9.0'
id: install
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: maven
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: Build and Test with Maven
run: ./mvnw -B test
browser-tests:
timeout-minutes: 60
runs-on: ubuntu-24.04
steps:
- name: Sops Binary Installer
uses: mdgreenwald/mozilla-sops-action@v1.6.0
with:
version: '3.9.0'
id: install
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
# https://playwright.dev/java/docs/ci-intro#setting-up-github-actions
- name: Build & Install
run: mvn -B install -D skipTests --no-transfer-progress -DskipShade=true
- name: Ensure browsers are installed
run: mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install --with-deps"
- name: run tests
run: mvn verify -DskipShade=true