Skip to content

codeclimate fix

codeclimate fix #22

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: ${{github.workspace}}app/src/main/java
with:
workingDirectory: ./app
coverageCommand: make report
coverageLocations: ${{github.workspace}}build/reports/jacoco/test/jacocoTestReport.xml:jacoco