chore: テストレポートを修正

This commit is contained in:
usbharu 2023-11-30 19:51:57 +09:00
parent bcda472c26
commit d905583f01
1 changed files with 23 additions and 5 deletions

View File

@ -111,6 +111,12 @@ jobs:
with: with:
arguments: test arguments: test
- name: Save Test Report
uses: actions/cache/save@v3
with:
path: build/test-results
key: unit-test-report-${{ github.sha }}
integration-test: integration-test:
needs: [ setup ] needs: [ setup ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -167,6 +173,12 @@ jobs:
with: with:
arguments: integrationTest arguments: integrationTest
- name: Save Test Report
uses: actions/cache/save@v3
with:
path: build/test-results
key: integration-test-report-${{ github.sha }}
coverage: coverage:
needs: [ setup ] needs: [ setup ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -237,12 +249,18 @@ jobs:
needs: [ unit-test,integration-test ] needs: [ unit-test,integration-test ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Build Cache - name: Restore Test Report
uses: actions/cache@v3.3.2 uses: actions/cache/restore@v3
with: with:
path: | path: build/test-results
build key: unit-test-report-${{ github.sha }}
key: gradle-build-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('src') }}-${{ github.sha }}
- name: Restore Test Report
uses: actions/cache/restore@v3
with:
path: build/test-results
key: integration-test-report-${{ github.sha }}
- name: JUnit Test Report - name: JUnit Test Report
uses: mikepenz/action-junit-report@v2 uses: mikepenz/action-junit-report@v2
with: with: