Skip to content

Jacoco report workflow added. #6

Jacoco report workflow added.

Jacoco report workflow added. #6

Workflow file for this run

# A Github action that publishes the JaCoCo report as a comment
name: Measure coverage
on:
push:
jobs:
build:
runs-on: ubuntu-latest
permissions:
push: write

Check failure on line 12 in .github/workflows/jacoco_report.yml

View workflow run for this annotation

GitHub Actions / Measure coverage

Invalid workflow file

The workflow is not valid. .github/workflows/jacoco_report.yml (Line: 12, Col: 7): Unexpected value 'push'
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
distribution:
- name: Run Coverage
run: |
chmod +x gradlew
./gradlew testCoverage
- name: Jacoco Report
id: jacoco
uses: madrapps/jacoco-report@v1.6.1
with:
paths: ${{ github.workspace }}/build/site/jacoco/jacoco.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 40
min-coverage-changed-files: 60
title: Code Coverage
update-comment: true