Run integration tests with Jackson 2 in CI

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
Daniel Garnier-Moiroux 2026-02-11 15:29:56 +01:00 • committed by Daniel Garnier-Moiroux
commit 38c0f3bef5
3 changed files with 25 additions and 2 deletions

View file

@ -5,7 +5,7 @@ on:
jobs:
build:
name: Build branch
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout source code
@ -20,3 +20,20 @@ jobs:
- name: Build
run: mvn verify
jackson2-tests:
name: Jackson 2 Integration Tests
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Jackson 2 Integration Tests
run: mvn -pl mcp-test -am -Pjackson2 test

View file

@ -25,7 +25,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Jackson 2 Integration Tests
run: mvn -pl mcp-test -am -Pjackson2 test
- name: Build and Test
run: mvn clean verify

View file

@ -32,6 +32,9 @@ jobs:
- name: Generate Java docs
run: mvn -Pjavadoc -B javadoc:aggregate
- name: Jackson 2 Integration Tests
run: mvn -pl mcp-test -am -Pjackson2 test
- name: Build with Maven and deploy to Sonatype snapshot repository
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}