Skip to content

Commit dba3b68

Browse files
authored
Rename CI and define build and test run in CI (#2227) (#2229)
1 parent e4977ae commit dba3b68

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.asf.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ github:
4141
strict: false
4242
contexts:
4343
- build
44+
- test
4445
karaf-4.4.x:
4546
required_pull_request_reviews:
4647
require_code_owner_reviews: false
@@ -50,6 +51,7 @@ github:
5051
strict: false
5152
contexts:
5253
- build
54+
- test
5355

5456
features:
5557
wiki: false
Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
name: Build
20+
name: CI
2121

2222
on:
2323
push:
@@ -27,11 +27,13 @@ on:
2727

2828
jobs:
2929
build:
30+
name: build
3031

31-
runs-on: ubuntu-latest
3232
permissions:
3333
contents: read
3434

35+
runs-on: ubuntu-24.04
36+
3537
steps:
3638
- name: Checkout
3739
uses: actions/checkout@v4
@@ -43,5 +45,23 @@ jobs:
4345
cache: 'maven'
4446
- name: Build
4547
run: mvn -U -B -e clean install -Prat -DskipTests "-Dinvoker.skip=true"
48+
49+
test:
50+
name: test
51+
52+
permissions:
53+
contents: read
54+
55+
runs-on: ubuntu-24.04
56+
57+
steps:
58+
- name: Checkout
59+
uses: actions/checkout@v4
60+
- name: Set up JDK 11
61+
uses: actions/setup-java@v4
62+
with:
63+
java-version: '11'
64+
distribution: 'temurin'
65+
cache: 'maven'
4666
- name: Test
47-
run: mvn -U -B -e clean install -Ptest
67+
run: mvn -B -e -fae clean install -Ptest

0 commit comments

Comments
 (0)