1
+ name : Verify Pull Request
2
+
3
+ env :
4
+ MAVEN_ARGS : -V -ntp -e
5
+
6
+ concurrency :
7
+ group : ${{ github.ref }}-${{ github.workflow }}
8
+ cancel-in-progress : true
9
+ on :
10
+ schedule :
11
+ # Run on end of the day
12
+ - cron : ' 0 0 * * *'
13
+ workflow_dispatch :
14
+ jobs :
15
+ check_format_and_unit_tests :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ with :
20
+ ref : fabric8-next-version
21
+ - name : Set up Java and Maven
22
+ uses : actions/setup-java@v3
23
+ with :
24
+ distribution : temurin
25
+ java-version : 17
26
+ cache : ' maven'
27
+ - name : Check code format
28
+ run : |
29
+ ./mvnw ${MAVEN_ARGS} formatter:validate -Dconfigfile=$PWD/contributing/eclipse-google-style.xml -pl '!operator-framework-bom' --file pom.xml
30
+ ./mvnw ${MAVEN_ARGS} impsort:check -pl '!operator-framework-bom' --file pom.xml
31
+ - name : Run unit tests
32
+ run : ./mvnw ${MAVEN_ARGS} -B test --file pom.xml
33
+
34
+ integration_tests :
35
+ strategy :
36
+ matrix :
37
+ java : [ 11, 17 ]
38
+ kubernetes : [ 'v1.23.15', 'v1.24.9', 'v1.25.5' ]
39
+ uses : ./.github/workflows/integration-tests.yml
40
+ with :
41
+ java-version : ${{ matrix.java }}
42
+ kube-version : ${{ matrix.kubernetes }}
43
+
44
+ httpclient-tests :
45
+ strategy :
46
+ matrix :
47
+ httpclient : [ 'vertx', 'jdk', 'jetty' ]
48
+ uses : ./.github/workflows/integration-tests.yml
49
+ with :
50
+ java-version : 17
51
+ kube-version : ' v1.25.5'
52
+ http-client : ${{ matrix.httpclient }}
53
+ experimental : true
54
+
55
+ special_integration_tests :
56
+ runs-on : ubuntu-latest
57
+ strategy :
58
+ matrix :
59
+ java : [ 11, 17 ]
60
+ steps :
61
+ - uses : actions/checkout@v3
62
+ - name : Set up Java and Maven
63
+ uses : actions/setup-java@v3
64
+ with :
65
+ distribution : temurin
66
+ java-version : ${{ matrix.java }}
67
+ cache : ' maven'
68
+ - name : Run Special Integration Tests
69
+ run : ./mvnw ${MAVEN_ARGS} -B package -P minimal-watch-timeout-dependent-it --file pom.xml
0 commit comments