Skip to content

fixes

fixes #42

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
- run: make test
- name: Publish code coverage
if: ${{ github.event_name == 'push' }}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
JACOCO_SOURCE_PATH: ${{github.workspace}}/app/src/main/java
with:
debug: true
coverageCommand: make report
coverageLocations: ${{github.workspace}}/app/build/reports/jacoco/test/jacocoTestReport.xml:jacoco