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