Skip to content

Clabbert - enhancements to interceptors, health check, environment configuration, and testing #11

Clabbert - enhancements to interceptors, health check, environment configuration, and testing

Clabbert - enhancements to interceptors, health check, environment configuration, and testing #11

Workflow file for this run

name: clabbert-ci
on:
push:
branches:
- main
paths:
- "implementation/clabbert/**"
- ".github/workflows/clabbert.yml"
pull_request:
types:
- opened
- edited
- reopened
- synchronize
- ready_for_review
branches:
- main
paths:
- "implementation/clabbert/**"
- ".github/workflows/clabbert.yml"
jobs:
build:
if: github.event.pull_request.draft == false
name: Build and test project
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: implementation/clabbert
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "microsoft"
- name: Check formatting
run: ./gradlew spotlessCheck
- name: Run Build
run: ./gradlew assemble
- name: Run Unit Tests
run: ./gradlew test
- name: Run Integration Tests
run: ./gradlew integrationTest