chore(deps): bump org.codehaus.mojo:extra-enforcer-rules from 1.8.0 to 1.9.0 #1480
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
# Quickstart for GitHub Actions | |
# https://docs.github.com/en/actions/quickstart | |
name: fast CI | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest ] | |
java: [ 8, 11, 17, 21, 22 ] | |
fail-fast: false | |
max-parallel: 64 | |
name: Fast CI on Java ${{ matrix.java }} OS ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: zulu | |
cache: maven | |
- name: Build with Maven | |
run: ./mvnw -V --no-transfer-progress clean package | |
- name: Run unit test under ttl agent, include check for ExecutorService, ForkJoinPool, Timer/TimerTask | |
working-directory: ttl2-compatible | |
run: > | |
../mvnw -V --no-transfer-progress | |
-Penable-ttl-agent-for-test | |
surefire:test | |
'-Dttl.agent.extra.d.options=-Drun-ttl-test-under-agent-with-enable-timer-task=true' | |
- name: Run unit test under ttl agent, and turn on the disable inheritable for thread pool enhancement | |
working-directory: ttl2-compatible | |
run: > | |
../mvnw -V --no-transfer-progress | |
-Penable-ttl-agent-for-test | |
surefire:test | |
'-Dttl.agent.extra.args=ttl.agent.disable.inheritable.for.thread.pool:true' | |
'-Dttl.agent.extra.d.options=-Drun-ttl-test-under-agent-with-disable-inheritable=true' | |
- name: Run agent check for Timer/TimerTask, explicit "ttl.agent.enable.timer.task" | |
working-directory: ttl2-compatible | |
run: > | |
../mvnw -V --no-transfer-progress | |
-Penable-ttl-agent-for-test | |
surefire:test | |
'-Dttl.agent.extra.args=ttl.agent.enable.timer.task:true' | |
'-Dttl.agent.extra.d.options=-Drun-ttl-test-under-agent-with-enable-timer-task=true' |