Skip to content

FIX: Policy crash when package has no manifest #156

FIX: Policy crash when package has no manifest

FIX: Policy crash when package has no manifest #156

Workflow file for this run

name: PR QA
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
java-version: [11, 17]
name: Checkout and Build
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots install -DjacocoAgg
- name: Run pre-commit tests
uses: pre-commit/[email protected]
with:
extra_args: --all-files --verbose
- name: Test with Maven
if: (matrix.java-version == 11)
run: mvn --batch-mode verify -DjacocoAgg
- name: Test build package on Windows
if: (matrix.os == 'windows-latest')
run: mvn --batch-mode package -DjacocoAgg && ./odf-validator.bat --version
- name: Test build package on Ubuntu
if: (matrix.os == 'ubuntu-latest')
run: mvn --batch-mode package -DjacocoAgg && ./odf-validator --version