39 lines
817 B
YAML
39 lines
817 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request: {}
|
|
|
|
jobs:
|
|
build:
|
|
name: Build and Test
|
|
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: 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
|