Run integration tests with Jackson 2 in CI
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
parent
6f3906480d
commit
38c0f3bef5
3 changed files with 25 additions and 2 deletions
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
|
|
@ -5,7 +5,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build branch
|
name: Build and Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
|
|
@ -20,3 +20,20 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: mvn verify
|
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
|
||||||
|
|
|
||||||
5
.github/workflows/maven-central-release.yml
vendored
5
.github/workflows/maven-central-release.yml
vendored
|
|
@ -25,7 +25,10 @@ jobs:
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Jackson 2 Integration Tests
|
||||||
|
run: mvn -pl mcp-test -am -Pjackson2 test
|
||||||
|
|
||||||
- name: Build and Test
|
- name: Build and Test
|
||||||
run: mvn clean verify
|
run: mvn clean verify
|
||||||
|
|
||||||
|
|
|
||||||
3
.github/workflows/publish-snapshot.yml
vendored
3
.github/workflows/publish-snapshot.yml
vendored
|
|
@ -32,6 +32,9 @@ jobs:
|
||||||
- name: Generate Java docs
|
- name: Generate Java docs
|
||||||
run: mvn -Pjavadoc -B javadoc:aggregate
|
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
|
- name: Build with Maven and deploy to Sonatype snapshot repository
|
||||||
env:
|
env:
|
||||||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue