Skip to content

Add custom metrics in AbstractThrottledPunctuator to track total events in eventStore and if the yield condition is hit #302

Add custom metrics in AbstractThrottledPunctuator to track total events in eventStore and if the yield condition is hit

Add custom metrics in AbstractThrottledPunctuator to track total events in eventStore and if the yield condition is hit #302

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-24.04
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Unit test
uses: hypertrace/github-actions/gradle@main
with:
args: jacocoTestReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: unit test reports
flags: unit
- name: copy test reports
uses: hypertrace/github-actions/gradle@main
with:
args: copyAllReports --output-dir=/tmp/test-reports
- name: Archive test reports
uses: actions/upload-artifact@v4
with:
name: test-reports
path: /tmp/test-reports
if: always()
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: ./**/build/test-results/**/*.xml
dependency-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Dependency Check
uses: hypertrace/github-actions/dependency-check@main
with:
nvd-api-key: ${{ secrets.NVD_API_KEY }}