Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ github:
strict: false
contexts:
- build
- test
karaf-4.4.x:
required_pull_request_reviews:
require_code_owner_reviews: false
Expand All @@ -50,6 +51,7 @@ github:
strict: false
contexts:
- build
- test

features:
wiki: false
Expand Down
26 changes: 23 additions & 3 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# under the License.
#

name: Build
name: CI

on:
push:
Expand All @@ -27,11 +27,13 @@ on:

jobs:
build:
name: build

runs-on: ubuntu-latest
permissions:
contents: read

runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -43,5 +45,23 @@ jobs:
cache: 'maven'
- name: Build
run: mvn -U -B -e clean install -Prat -DskipTests "-Dinvoker.skip=true"

test:
name: test

permissions:
contents: read

runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: Test
run: mvn -U -B -e clean install -Ptest
run: mvn -B -e -fae clean install -Ptest