change code climate to codacy #82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: | |
| gradle-version: 8.7 | |
| - run: ./gradlew checkstyleMain | |
| - run: ./gradlew test | |
| - name: Generate coverage report | |
| run: make report | |
| # - name: Publsish coverage report to codacy | |
| # uses: codacy/codacy-coverage-reporter-action@v1.3.0 | |
| # with: | |
| # project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
| # coverage-reports: build/reports/jacoco/test/jacocoTestReport.xml |