Skip to content

LTECH-405: Run tests in CI#62

Merged
pboos merged 2 commits intomainfrom
spring-boot-starter
Mar 30, 2026
Merged

LTECH-405: Run tests in CI#62
pboos merged 2 commits intomainfrom
spring-boot-starter

Conversation

@akos-hrvth
Copy link
Copy Markdown
Contributor

@akos-hrvth akos-hrvth commented Mar 30, 2026

Summary

Introduces a GitHub Actions CI workflow to automatically run tests for the spring-boot-starter branch, as part of the LTECH-405 initiative.

Changes

  • Adds .github/workflows/test.yml, a new CI pipeline named Test that triggers on every push and supports manual dispatch via workflow_dispatch.

Workflow Details

  • Runner: Self-hosted java-large runner.
  • Concurrency: Configured to cancel in-progress runs on non-default branches, avoiding redundant executions.
  • Steps:
    1. Checkout sources (pinned actions/checkout@v6.0.2).
    2. Configure AWS credentials via OIDC (aws-actions/configure-aws-credentials@v5.1.1) targeting the ci-base-access IAM role in eu-central-1 — likely needed to authenticate with AWS CodeArtifact for dependency resolution.
    3. Setup Java using Temurin distribution, with the version sourced from .sdkmanrc (actions/setup-java@v5.2.0).
    4. Run tests via the Gradle build action (gradle/gradle-build-action@v3.5.0), using the Gradle wrapper with build cache enabled.

Notes

  • All actions are pinned to specific commit SHAs for supply chain security.
  • CODEARTIFACT_AUTH_TOKEN is passed as a secret to authenticate private package resolution during the test run.

@akos-hrvth akos-hrvth requested a review from a team as a code owner March 30, 2026 07:31
@akos-hrvth akos-hrvth requested a review from ctbur March 30, 2026 07:31
@gyg-pr-tool gyg-pr-tool bot changed the title [LTECH-405] Run tests in CI LTECH-405: Run tests in CI Mar 30, 2026
@akos-hrvth akos-hrvth marked this pull request as draft March 30, 2026 07:31
Comment on lines +23 to +28
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
aws-region: eu-central-1
role-to-assume: arn:aws:iam::130607246975:role/ci-base-access
role-session-name: swe-interview-test
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this step?

@pboos pboos marked this pull request as ready for review March 30, 2026 08:29
@pboos pboos merged commit 6289e2b into main Mar 30, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants