调整BlockingRunner内部实现,移除同步代码块和 wait/notify 的使用;为部分配置类增加直接配置 Executor 的API #71
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: Test Branch | |
on: | |
pull_request: | |
branches: | |
- 'v3-dev' | |
env: | |
IS_CI: true | |
GRADLE_OPTS: "-Dfile.encoding=UTF-8" | |
jobs: | |
build-test: | |
name: Build and test | |
strategy: | |
matrix: | |
os: [ macos-latest, windows-latest, ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
cache: 'gradle' | |
- name: Run All Tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 8.3 | |
arguments: | | |
assemble | |
build | |
allTests | |
--info | |
--warning-mode all | |