Clabbert - enhancements to interceptors, health check, environment configuration, and testing #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |