Files
cryptomator/.github/workflows/pullrequest.yml
2025-01-12 14:42:04 +01:00

27 lines
652 B
YAML

name: Pull Request
on:
pull_request:
env:
JAVA_DIST: 'temurin'
JAVA_VERSION: 23
defaults:
run:
shell: bash
jobs:
test:
name: Compile and Test
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: ${{ env.JAVA_DIST }}
java-version: ${{ env.JAVA_VERSION }}
cache: 'maven'
- name: Build and Test
run: xvfb-run mvn -B clean install jacoco:report -Pcoverage -Djavafx.platform=linux