feat-ISecurityAbility-增加对应的单元测试用例 #93
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: ci | |
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
check: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Checkstyle | |
run: ./gradlew checkstyleMain checkstyleTest --scan | |
- name: Build with Gradle | |
env: | |
JAVA_TOOL_OPTIONS: "-Xmx2g" # 增加最大堆内存为 2G 或根据需要调整 | |
run: ./gradlew test |