Skip to content

Commit d740686

Browse files
committed
Run integration tests with Jackson 2 in CI
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
1 parent 28165ae commit d740686

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
build:
8-
name: Build branch
8+
name: Build and Test
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout source code
@@ -20,3 +20,20 @@ jobs:
2020

2121
- name: Build
2222
run: mvn verify
23+
24+
jackson2-tests:
25+
name: Jackson 2 Integration Tests
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout source code
29+
uses: actions/checkout@v4
30+
31+
- name: Set up JDK 17
32+
uses: actions/setup-java@v4
33+
with:
34+
java-version: '17'
35+
distribution: 'temurin'
36+
cache: 'maven'
37+
38+
- name: Jackson 2 Integration Tests
39+
run: mvn -pl mcp-test -am -Pjackson2 test

.github/workflows/maven-central-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: '20'
28-
28+
29+
- name: Jackson 2 Integration Tests
30+
run: mvn -pl mcp-test -am -Pjackson2 test
31+
2932
- name: Build and Test
3033
run: mvn clean verify
3134

.github/workflows/publish-snapshot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- name: Generate Java docs
3333
run: mvn -Pjavadoc -B javadoc:aggregate
3434

35+
- name: Jackson 2 Integration Tests
36+
run: mvn -pl mcp-test -am -Pjackson2 test
37+
3538
- name: Build with Maven and deploy to Sonatype snapshot repository
3639
env:
3740
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}

0 commit comments

Comments
 (0)