name: Measure coverage on: push: branches: [ debug ] jobs: build: name: Code Quality Check runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 11 uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 11 cache: 'gradle' - name: Make gradlew executable run: chmod +x ./gradlew - name: Build and analyze run: ./gradlew generateTestSource test jacocoTestReport --info -Dfull_test_suite=true - name: Upload to CodeCov env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} run: bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN