From 090991789ac9054d4c4808b7436fce2a74d05e2a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Dec 2025 15:58:06 +0000 Subject: [PATCH 1/2] Initial plan From cd28e708e690aeb6851fe8cc58ded5bd96f34082 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Dec 2025 16:01:28 +0000 Subject: [PATCH 2/2] Add initial CI structure with composite actions and workflow Co-authored-by: juanfeSanahuja <85166064+juanfeSanahuja@users.noreply.github.com> --- .github/actions/setup-java-maven/action.yml | 26 +++++++++++++++++++++ .github/actions/test-summary/action.yml | 26 +++++++++++++++++++++ .github/workflows/build.yml | 2 ++ 3 files changed, 54 insertions(+) create mode 100644 .github/actions/setup-java-maven/action.yml create mode 100644 .github/actions/test-summary/action.yml create mode 100644 .github/workflows/build.yml diff --git a/.github/actions/setup-java-maven/action.yml b/.github/actions/setup-java-maven/action.yml new file mode 100644 index 0000000..123760c --- /dev/null +++ b/.github/actions/setup-java-maven/action.yml @@ -0,0 +1,26 @@ +name: 'Setup Java and Maven' +description: 'Composite action to set up Java and Maven environment for OpenCB/Xetabase projects' + +# TODO: Define inputs for Java version, Maven version, cache configuration, etc. +# inputs: +# java-version: +# description: 'Java version to set up' +# required: false +# default: '11' + +# TODO: Define outputs if needed +# outputs: +# java-version: +# description: 'Installed Java version' +# value: ${{ steps.setup.outputs.java-version }} + +runs: + using: 'composite' + steps: + # TODO: Add steps to set up Java + # TODO: Add steps to set up Maven + # TODO: Add caching for Maven dependencies + # TODO: Configure Maven settings if needed + - name: Placeholder + shell: bash + run: echo "Setup Java and Maven action - to be implemented" diff --git a/.github/actions/test-summary/action.yml b/.github/actions/test-summary/action.yml new file mode 100644 index 0000000..94517f0 --- /dev/null +++ b/.github/actions/test-summary/action.yml @@ -0,0 +1,26 @@ +name: 'Test Summary' +description: 'Composite action to generate and publish test summaries for OpenCB/Xetabase projects' + +# TODO: Define inputs for test results paths, formats, etc. +# inputs: +# test-results-path: +# description: 'Path to test results' +# required: false +# default: '**/target/surefire-reports/*.xml' + +# TODO: Define outputs if needed +# outputs: +# summary: +# description: 'Test summary' +# value: ${{ steps.summary.outputs.summary }} + +runs: + using: 'composite' + steps: + # TODO: Add steps to collect test results + # TODO: Add steps to parse test results + # TODO: Add steps to generate summary + # TODO: Add steps to publish summary to GitHub Actions UI + - name: Placeholder + shell: bash + run: echo "Test summary action - to be implemented" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3495db0 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,2 @@ +# TODO: Define build workflow for ci-core repository +# This workflow will validate the composite actions and ensure they work correctly