From 33a036e0c3296587d06ddbd5decd3698b51896be Mon Sep 17 00:00:00 2001 From: Ruben Romero Montes Date: Thu, 24 Jul 2025 15:25:52 +0200 Subject: [PATCH] chore(ci): add integration tests Signed-off-by: Ruben Romero Montes --- .github/workflows/integration.yml | 20 ++++++++++++++++++++ .github/workflows/pr.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- .github/workflows/stage.yml | 6 +++--- .gitignore | 4 ++++ pom.xml | 4 ++-- 6 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 00000000..20d417a6 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,20 @@ +--- +name: Integration + +on: + workflow_dispatch: + pull_request: + branches: + - main + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + call-shared: + uses: trustification/exhort-integration-tests/.github/workflows/integration.yml@main + with: + language: java + repo-url: ${{ github.event.pull_request.head.repo.full_name || github.repository }} + commit-sha: ${{ github.event.pull_request.head.sha || github.sha }} \ No newline at end of file diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index dcb5cd01..065f749d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,11 +14,11 @@ jobs: checks: write pull-requests: write env: - MAIN_JAVA_VER: 11 + MAIN_JAVA_VER: 17 RUN_PYTHON_BIN: ${{ vars.RUN_PYTHON_BIN }} strategy: matrix: - java: [11, 17, 21] + java: [17, 21] steps: - name: Checkout sources uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d027a883..c3cdc8a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,11 +31,11 @@ jobs: fetch-depth: 0 - - name: Setup Java 11 - uses: actions/setup-java@v3 + - name: Setup Java 17 + uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 cache: maven - name: create ssh agent diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index abd3a927..ca85f36e 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -25,11 +25,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - - name: Setup Java 11 - uses: actions/setup-java@v3 + - name: Setup Java 17 + uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 cache: maven - name: Get pom specs diff --git a/.gitignore b/.gitignore index 5a08838a..ee3fa792 100644 --- a/.gitignore +++ b/.gitignore @@ -41,8 +41,12 @@ dependency-reduced-pom.xml # Node node_modules +# Python virtual envs +.venv + # project stuff http_requests json_responses **/.DS_Store .idea/ + diff --git a/pom.xml b/pom.xml index 37a14d56..fcff2586 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ 81% 50 UTF-8 - 11 + 17 1.0.6 2.15.0 @@ -30,7 +30,7 @@ 5.17.0 3.2.0 - 3.11.0 + 3.12.1 3.6.0 3.1.1 3.3.0