Release v7.6.12 (#430) #764
This file contains hidden or 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: Generate Codecov Report | |
| on: | |
| pull_request: | |
| branches: [ develop, main ] | |
| types: [ opened, reopened ] | |
| push: | |
| branches: [ develop, main, "feature/*" ] | |
| workflow_dispatch: | |
| # inputs: | |
| # working-branch: | |
| # description: 'TBA: Analyze this branch (default is current)' | |
| # required: false | |
| # default: ${{ env.GITHUB_REF_NAME }} | |
| # type: string | |
| jobs: | |
| codecov_report: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| fetch-depth: 0 | |
| - name: set up JDK 11 | |
| uses: actions/setup-java@v2 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Run jacoco | |
| run: | | |
| ./gradlew agent:testReleaseUnitTestCoverage | |
| ./gradlew agent-core:jacocoTestReport | |
| ./gradlew instrumentation:jacocoTestReport | |
| ./gradlew plugin:gradle:jacocoTestReport | |
| - name: Upload Test Report Part 1 | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: '**/testReleaseUnitTestCoverage.xml' | |
| - name: Upload Test Report Part 2 | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: '**/jacocoTestReport.xml' |