diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 2d01cda..f409bc8 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -63,44 +63,4 @@ jobs: uses: hidakatsuya/action-report-android-lint@v1.1.3 with: fail-on-warning: false - result-path: 'app/build/reports/lint-results-release.xml' - - - name: Run JaCoCo Coverage - run: ./gradlew jacocoTestReport - - - name: Upload JaCoCo report (XML) - uses: actions/upload-artifact@v4 - with: - name: report.xml - retention-days: 3 - path: ${{ github.workspace }}/app/build/reports/jacoco/jacocoTestReleaseUnitTestReport/jacocoTestReleaseUnitTestReport.xml - - - name: JaCoCo coverage reporter - parse xml report - id: jacoco_reporter - uses: PavanMudigonda/jacoco-reporter@v4.9 - with: - coverage_results_path: ${{ github.workspace }}/app/build/reports/jacoco/jacocoTestReleaseUnitTestReport/jacocoTestReleaseUnitTestReport.xml - coverage_report_name: Unit Tests Coverage Report - coverage_report_title: JaCoCo - github_token: ${{ secrets.GITHUB_TOKEN }} - skip_check_run: false - minimum_coverage: 80 - fail_below_threshold: false - publish_only_summary: false - - - name: Upload coverage parsed results (XML) - uses: actions/upload-artifact@v4 - with: - name: code-coverage-report - path: "*/coverage-results.md" - retention-days: 3 - - - name: Parse coverage information - run: | - echo "Total coverage coverage-overall ${{ steps.jacoco.outputs.coverage-overall }}" - echo "Changed Files coverage ${{ steps.jacoco.outputs.coverage-changed-files }}" - echo "Coverage coveragePercentage ${{ steps.jacoco_reporter.outputs.coveragePercentage }}" - echo "Coverage coveragePercentageString ${{ steps.jacoco_reporter.outputs.coveragePercentageString }}" - - - name: Publish coverage summary - run: echo "${{ steps.jacoco_reporter.outputs.coverageSummary }}" >> $GITHUB_STEP_SUMMARY \ No newline at end of file + result-path: 'app/build/reports/lint-results-release.xml' \ No newline at end of file