将 suspend-transformer 模块的异步相关API和 Collectable
的异步相关API内所有的 CoroutineScope
参数默认值调整为 GlobalScope
并增加与之相关的部分警告或说明
#32
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 V4 Branch | |
on: | |
pull_request: | |
branches: | |
- 'v4-dev' | |
env: | |
IS_CI: true | |
GRADLE_OPTS: "-Dfile.encoding=UTF-8" | |
jobs: | |
build-v4-test: | |
name: Build and test | |
strategy: | |
matrix: | |
os: [ macos-latest, windows-latest, ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 21 | |
cache: 'gradle' | |
- name: Run V4 All Tests | |
uses: gradle/gradle-build-action@v3 | |
with: | |
gradle-version: 8.5 | |
arguments: | | |
assemble | |
build | |
allTests | |
--info | |
--warning-mode all | |
- name: Upload test reports | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: test-reports-${{ matrix.os }} | |
path: build/test-reports | |
retention-days: 7 |