Skip to content

feat: add webapi response changes as of 2026-08-07 #835

feat: add webapi response changes as of 2026-08-07

feat: add webapi response changes as of 2026-08-07 #835

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
java-version: ["8", "14", "17"]
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install JDK ${{ matrix.java-version }}
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
java-version: ${{ matrix.java-version }}
distribution: "adopt"
- name: Cache Maven repository
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.m2/repository
key: maven-${{ runner.os }}-${{ matrix.java-version }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-${{ runner.os }}-${{ matrix.java-version }}-
- name: Compile
run: ./scripts/run_no_prep_tests.sh clean test-compile
env:
CI_ARGS: "--batch-mode"
MAVEN_OPTS: "-Xmx10g -Xms1g"
- name: Run tests
run: ./scripts/run_no_prep_tests.sh test
env:
CI_ARGS: "--batch-mode"
SKIP_UNSTABLE_TESTS: 1
- name: Upload test results to Codecov
if: ${{ !cancelled() && hashFiles('**/target/surefire-reports/TEST-*.xml') != '' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
directory: .
files: "**/target/surefire-reports/TEST-*.xml"
fail_ci_if_error: true
flags: jdk-${{ matrix.java-version }}
report_type: test_results
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov
if: ${{ !cancelled() && startsWith(matrix.java-version, '14') && hashFiles('**/target/site/jacoco/jacoco.xml') != '' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: "**/target/site/jacoco/jacoco.xml"
flags: jdk-${{ matrix.java-version }}
token: ${{ secrets.CODECOV_TOKEN }}