mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-17 08:06:52 -04:00
27 lines
625 B
YAML
27 lines
625 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
env:
|
|
JAVA_DIST: 'zulu'
|
|
JAVA_VERSION: 21
|
|
|
|
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@v3
|
|
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 |