-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (44 loc) · 1.16 KB
/
Copy pathci.yml
File metadata and controls
48 lines (44 loc) · 1.16 KB
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
41
42
43
44
45
46
47
48
name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
java: [21]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Verify unit and attach integration tests
run: mvn --batch-mode --no-transfer-progress verify
- uses: actions/upload-artifact@v4
if: matrix.java == 21
with:
name: jpi-java-${{ matrix.java }}
path: target/jpi.jar
if-no-files-found: error
retention-days: 14
- name: Upload test reports
uses: actions/upload-artifact@v4
if: always()
with:
name: jpi-test-reports-java-${{ matrix.java }}
path: |
target/surefire-reports/
target/failsafe-reports/
if-no-files-found: warn
retention-days: 14