-
Notifications
You must be signed in to change notification settings - Fork 23
40 lines (31 loc) · 954 Bytes
/
test-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: PR QA
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Checkout and Build
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
java-version: [8, 11, 17, 21]
steps:
- uses: actions/checkout@v4
- name: JDK setup
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
docker_build:
name: Build a test Docker image and add to GH container registry
needs: [ build ]
uses: veraPDF/veraPDF-rest/.github/workflows/test-dkr-build.yml@integration
docker_test:
name: Deploy and test the image built in previous step
needs: [ docker_build ]
uses: veraPDF/veraPDF-rest/.github/workflows/test-dkr-image.yml@integration