-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (50 loc) · 1.46 KB
/
Copy pathselected-java-modules.yml
File metadata and controls
56 lines (50 loc) · 1.46 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
49
50
51
52
53
54
55
56
name: Ausgewählte Java-Module
on:
pull_request:
paths:
- "java-16-collections/**"
- "java-19-optional/**"
- "java-20-exceptions-try-catch-finally/**"
- "java-21-concurrency-multi-thread/**"
- "UnitTest_PropertyBasedTest/**"
- ".github/workflows/selected-java-modules.yml"
push:
branches:
- main
paths:
- "java-16-collections/**"
- "java-19-optional/**"
- "java-20-exceptions-try-catch-finally/**"
- "java-21-concurrency-multi-thread/**"
- "UnitTest_PropertyBasedTest/**"
- ".github/workflows/selected-java-modules.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
maven-verify:
name: ${{ matrix.module }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
module:
- java-16-collections
- java-19-optional
- java-20-exceptions-try-catch-finally
- java-21-concurrency-multi-thread
- UnitTest_PropertyBasedTest
steps:
- name: Repository auschecken
uses: actions/checkout@v7
- name: Java 22 einrichten
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: "22"
cache: maven
cache-dependency-path: ${{ matrix.module }}/pom.xml
- name: Modul kompilieren und testen
working-directory: ${{ matrix.module }}
run: mvn --batch-mode --no-transfer-progress verify