Skip to content

Commit 75c75fd

Browse files
committed
fix
1 parent d876b9f commit 75c75fd

File tree

2 files changed

+54
-2
lines changed

2 files changed

+54
-2
lines changed

.github/workflows/ci-jdk11.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
################################################################################
2+
# Copyright (c) 2024 Alibaba Group Holding Ltd.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
################################################################################
16+
17+
name: Fluss CI on JDK 11
18+
19+
on:
20+
issue_comment:
21+
types: [created, edited, deleted]
22+
23+
# daily run
24+
schedule:
25+
- cron: "0 0 * * *"
26+
27+
env:
28+
JDK_VERSION: 11
29+
30+
jobs:
31+
build:
32+
if: |
33+
github.event_name == 'schedule' ||
34+
(contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11'))
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Checkout code
39+
uses: actions/checkout@v2
40+
- name: Set up JDK ${{ env.JDK_VERSION }}
41+
uses: actions/setup-java@v2
42+
with:
43+
java-version: ${{ env.JDK_VERSION }}
44+
distribution: 'adopt'
45+
- name: Build
46+
run: mvn -T 1C -B clean install -DskipTests
47+
- name: Test
48+
timeout-minutes: 60
49+
run: |
50+
mvn -T 1C -B verify
51+
env:
52+
MAVEN_OPTS: -Xmx4096m

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515
################################################################################
1616

17-
name: Fluss CI (JDK8)
17+
name: Fluss CI on JDK 8
1818

1919
on:
2020
push:
@@ -46,6 +46,6 @@ jobs:
4646
- name: Test
4747
timeout-minutes: 60
4848
run: |
49-
mvn -B verify code-coverage:jacoco -Ptest-coverage -Dmaven.test.failure.ignore=true -Dautoconfig.skip
49+
mvn -T 1C -B verify
5050
env:
5151
MAVEN_OPTS: -Xmx4096m

0 commit comments

Comments
 (0)