Skip to content

feat: add thread pool monitor #915

feat: add thread pool monitor

feat: add thread pool monitor #915

# The workflow to check main after push.
name: Main checks after push and during pull requests
on:
push:
branches: [ 'main' ]
pull_request:
jobs:
build:
strategy:
matrix:
java-version: [ 11, 17 ]
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
- name: Build with Gradle
run: make build
- name: Run unit tests
run: make test
- name: Run integration tests
run: make integration_test
- name: Upload build reports
uses: actions/upload-artifact@v4
if: always()
with:
name: build-reports
path: '**/build/reports/**'
e2e_test:
strategy:
matrix:
java-version: [ 11 ]
test: [ 'LocalSystem', 'S3', 'Gcs', 'Azure' ]
name: E2E tests for ${{ matrix.test }} with jdk ${{ matrix.java-version }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Docker image
run: make docker_image
- name: Run E2E tests
timeout-minutes: 30
run: make E2E_TEST=${{ matrix.test }} e2e_test
- name: Upload build reports
uses: actions/upload-artifact@v4
if: always()
with:
name: build-reports
path: '**/build/reports/**'
# TODO: publish docker image