@@ -29,12 +29,16 @@ jobs:
29
29
codechange:
30
30
- '!presto-docs/**'
31
31
product-tests-specific-environment1 :
32
+ strategy :
33
+ fail-fast : false
34
+ matrix :
35
+ java : [ 8, 17.0.13 ]
32
36
runs-on : ubuntu-latest
33
37
needs : changes
34
38
if : needs.changes.outputs.codechange == 'true'
35
39
timeout-minutes : 60
36
40
concurrency :
37
- group : ${{ github.workflow }}-product-tests-specific-environment1-${{ github.event.pull_request.number }}
41
+ group : ${{ github.workflow }}-product-tests-specific-environment1-${{ github.event.pull_request.number }}-${{ matrix.java }}
38
42
cancel-in-progress : true
39
43
steps :
40
44
- name : Free Disk Space
49
53
- uses : actions/setup-java@v4
50
54
with :
51
55
distribution : ' temurin'
52
- java-version : 8
56
+ java-version : ${{ matrix.java }}
53
57
cache : ' maven'
54
58
- name : Download nodejs to maven cache
55
59
run : .github/bin/download_nodejs
@@ -58,26 +62,40 @@ jobs:
58
62
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
59
63
./mvnw install ${MAVEN_FAST_INSTALL} -am -pl '!presto-docs,!presto-spark-package,!presto-spark-launcher,!presto-spark-testing,!presto-test-coverage'
60
64
- name : Product Tests Specific 1.1
65
+ env :
66
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
61
67
run : presto-product-tests/bin/run_on_docker.sh singlenode -g hdfs_no_impersonation,avro
62
68
- name : Product Tests Specific 1.2
69
+ env :
70
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
63
71
run : presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-no-impersonation -g hdfs_no_impersonation
64
72
# temporarily disable this flaky run. see issue #20388 for details
65
73
# - name: Product Tests Specific 1.3
66
74
# run: presto-product-tests/bin/run_on_docker.sh singlenode-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation
67
75
- name : Product Tests Specific 1.4
76
+ env :
77
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
68
78
run : presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation,authorization,hive_file_header
69
79
- name : Product Tests Specific 1.5
80
+ env :
81
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
70
82
run : presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation-cross-realm -g storage_formats,cli,hdfs_impersonation
71
83
- name : Product Tests Specific 1.6
84
+ env :
85
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
72
86
run : presto-product-tests/bin/run_on_docker.sh multinode-tls-kerberos -g cli,group-by,join,tls
73
87
74
88
product-tests-specific-environment2 :
89
+ strategy :
90
+ fail-fast : false
91
+ matrix :
92
+ java : [ 8, 17.0.13 ]
75
93
runs-on : ubuntu-latest
76
94
needs : changes
77
95
if : needs.changes.outputs.codechange == 'true'
78
96
timeout-minutes : 60
79
97
concurrency :
80
- group : ${{ github.workflow }}-product-tests-specific-environment2-${{ github.event.pull_request.number }}
98
+ group : ${{ github.workflow }}-product-tests-specific-environment2-${{ github.event.pull_request.number }}-${{ matrix.java }}
81
99
cancel-in-progress : true
82
100
steps :
83
101
- name : Free Disk Space
92
110
- uses : actions/setup-java@v4
93
111
with :
94
112
distribution : ' temurin'
95
- java-version : 8
113
+ java-version : ${{ matrix.java }}
96
114
cache : ' maven'
97
115
- name : Download nodejs to maven cache
98
116
run : .github/bin/download_nodejs
@@ -101,19 +119,33 @@ jobs:
101
119
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
102
120
./mvnw install ${MAVEN_FAST_INSTALL} -am -pl '!presto-docs,!presto-spark-package,!presto-spark-launcher,!presto-spark-testing,!presto-test-coverage'
103
121
- name : Product Tests Specific 2.1
122
+ env :
123
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
104
124
run : presto-product-tests/bin/run_on_docker.sh singlenode-ldap -g ldap -x simba_jdbc
105
125
- name : Product Tests Specific 2.2
126
+ env :
127
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
106
128
run : presto-product-tests/bin/run_on_docker.sh multinode-tls -g smoke,cli,group-by,join,tls
107
129
- name : Product Tests Specific 2.3
130
+ env :
131
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
108
132
run : presto-product-tests/bin/run_on_docker.sh singlenode-mysql -g mysql_connector,mysql
109
133
- name : Product Tests Specific 2.4
134
+ env :
135
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
110
136
run : presto-product-tests/bin/run_on_docker.sh singlenode-postgresql -g postgresql_connector
111
137
- name : Product Tests Specific 2.5
138
+ env :
139
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
112
140
run : presto-product-tests/bin/run_on_docker.sh singlenode-cassandra -g cassandra
113
141
# temporarily disable this flaky run. see issue #20388 for details
114
142
# - name: Product Tests Specific 2.6
115
143
# run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation-with-wire-encryption -g storage_formats,cli,hdfs_impersonation,authorization
116
144
- name : Product Tests Specific 2.7
145
+ env :
146
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
117
147
run : presto-product-tests/bin/run_on_docker.sh singlenode-kafka -g kafka
118
148
- name : Product Tests Specific 2.8
149
+ env :
150
+ OVERRIDE_JDK_DIR : ${{ env.JAVA_HOME }}
119
151
run : presto-product-tests/bin/run_on_docker.sh singlenode-sqlserver -g sqlserver
0 commit comments