Skip to content

xml testReport required #28

xml testReport required

xml testReport required #28

Workflow file for this run

name: Java CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v3
with:
arguments: build
build-root-directory: app
gradle-version: 8.7
- run: make lint
working-directory: ./app
- run: make test
working-directory: ./app
- name: Publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
JACOCO_SOURCE_PATH: app/src/main/java ./app/cc-test-reporter format-coverage ./app/build/reports/jacoco/test/jacocoTestReport.xml --input-type jacoco
with:
coverageCommand: make -C app report
coverageLocations: ${{github.workspace}}app/build/reports/jacoco/test/jacocoTestReport.xml:jacoco