This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new e90b13ad2 [ci] Fix that non-flink tests still run some flink related
tests (#2509)
e90b13ad2 is described below
commit e90b13ad2dfaa8d887a932e5721711cb421bea82
Author: yuzelin <[email protected]>
AuthorDate: Fri Dec 15 14:11:00 2023 +0800
[ci] Fix that non-flink tests still run some flink related tests (#2509)
---
.github/workflows/unitcase-jdk11.yml | 2 +-
.github/workflows/utitcase.yml | 2 +-
paimon-flink/pom.xml | 26 ++++++++++++++++++++++++++
3 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/unitcase-jdk11.yml
b/.github/workflows/unitcase-jdk11.yml
index 26f272beb..1baed87f9 100644
--- a/.github/workflows/unitcase-jdk11.yml
+++ b/.github/workflows/unitcase-jdk11.yml
@@ -52,6 +52,6 @@ jobs:
. .github/workflows/utils.sh
jvm_timezone=$(random_timezone)
echo "JVM timezone is set to $jvm_timezone"
- mvn -T 1C -B clean install -pl
'!paimon-e2e-tests,!org.apache.paimon:paimon-flink-common',!org.apache.paimon:paimon-hive-connector-3.1'
-Duser.timezone=$jvm_timezone
+ mvn -T 1C -B clean install -pl
'!paimon-e2e-tests,!org.apache.paimon:paimon-hive-connector-3.1'
-Pskip-paimon-flink-tests -Duser.timezone=$jvm_timezone
env:
MAVEN_OPTS: -Xmx4096m
\ No newline at end of file
diff --git a/.github/workflows/utitcase.yml b/.github/workflows/utitcase.yml
index 09ae8a0b6..431b44332 100644
--- a/.github/workflows/utitcase.yml
+++ b/.github/workflows/utitcase.yml
@@ -53,6 +53,6 @@ jobs:
. .github/workflows/utils.sh
jvm_timezone=$(random_timezone)
echo "JVM timezone is set to $jvm_timezone"
- mvn -T 1C -B clean install -pl
'!paimon-e2e-tests,!org.apache.paimon:paimon-flink-common,!org.apache.paimon:paimon-flink-cdc'
-Duser.timezone=$jvm_timezone
+ mvn -T 1C -B clean install -pl '!paimon-e2e-tests'
-Pskip-paimon-flink-tests -Duser.timezone=$jvm_timezone
env:
MAVEN_OPTS: -Xmx4096m
\ No newline at end of file
diff --git a/paimon-flink/pom.xml b/paimon-flink/pom.xml
index cc2b1ce5e..f6adaeb21 100644
--- a/paimon-flink/pom.xml
+++ b/paimon-flink/pom.xml
@@ -136,4 +136,30 @@ under the License.
</exclusions>
</dependency>
</dependencies>
+
+ <profiles>
+ <profile>
+ <id>skip-paimon-flink-tests</id>
+ <modules>
+ <module>paimon-flink-common</module>
+ <module>paimon-flink-1.14</module>
+ <module>paimon-flink-1.15</module>
+ <module>paimon-flink-1.16</module>
+ <module>paimon-flink-1.17</module>
+ <module>paimon-flink-1.18</module>
+ <module>paimon-flink-cdc</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>