mirror of
https://github.com/vran-dev/databasir.git
synced 2025-08-09 11:53:47 +08:00
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:
12
.github/workflows/auto-check.yml
vendored
12
.github/workflows/auto-check.yml
vendored
@@ -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'
|
||||
|
Reference in New Issue
Block a user