Skip to content

Commit cd28e70

Browse files
Add initial CI structure with composite actions and workflow
Co-authored-by: juanfeSanahuja <85166064+juanfeSanahuja@users.noreply.github.com>
1 parent 0909917 commit cd28e70

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'Setup Java and Maven'
2+
description: 'Composite action to set up Java and Maven environment for OpenCB/Xetabase projects'
3+
4+
# TODO: Define inputs for Java version, Maven version, cache configuration, etc.
5+
# inputs:
6+
# java-version:
7+
# description: 'Java version to set up'
8+
# required: false
9+
# default: '11'
10+
11+
# TODO: Define outputs if needed
12+
# outputs:
13+
# java-version:
14+
# description: 'Installed Java version'
15+
# value: ${{ steps.setup.outputs.java-version }}
16+
17+
runs:
18+
using: 'composite'
19+
steps:
20+
# TODO: Add steps to set up Java
21+
# TODO: Add steps to set up Maven
22+
# TODO: Add caching for Maven dependencies
23+
# TODO: Configure Maven settings if needed
24+
- name: Placeholder
25+
shell: bash
26+
run: echo "Setup Java and Maven action - to be implemented"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'Test Summary'
2+
description: 'Composite action to generate and publish test summaries for OpenCB/Xetabase projects'
3+
4+
# TODO: Define inputs for test results paths, formats, etc.
5+
# inputs:
6+
# test-results-path:
7+
# description: 'Path to test results'
8+
# required: false
9+
# default: '**/target/surefire-reports/*.xml'
10+
11+
# TODO: Define outputs if needed
12+
# outputs:
13+
# summary:
14+
# description: 'Test summary'
15+
# value: ${{ steps.summary.outputs.summary }}
16+
17+
runs:
18+
using: 'composite'
19+
steps:
20+
# TODO: Add steps to collect test results
21+
# TODO: Add steps to parse test results
22+
# TODO: Add steps to generate summary
23+
# TODO: Add steps to publish summary to GitHub Actions UI
24+
- name: Placeholder
25+
shell: bash
26+
run: echo "Test summary action - to be implemented"

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# TODO: Define build workflow for ci-core repository
2+
# This workflow will validate the composite actions and ensure they work correctly

0 commit comments

Comments
 (0)