feat: add integration test (#65)

* feat: add integration test

* feat: update action config

* fix: action run failed

* feat: add test report step in action
This commit is contained in:
vran
2022-03-26 19:26:50 +08:00
committed by GitHub
parent 17d0f3a024
commit 4edadae62e
41 changed files with 806 additions and 59 deletions

View File

@@ -39,14 +39,20 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
cache: 'gradle'
- name: Gradle Permission Grant
run: chmod +x ./gradlew
- name: Gradle Test
run: ./gradlew api:check core:check
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'