Skip to content

Ignore repeated characters inside code #221

Ignore repeated characters inside code

Ignore repeated characters inside code #221

Workflow file for this run

name: PR QA
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Checkout and Build
runs-on: ubuntu-20.04
strategy:
matrix:
java-version: [8, 11, 16, 17]
steps:
- uses: actions/checkout@v2
- name: JDK setup
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
- name: Upload coverage report
if: matrix.java-version == 8
uses: actions/upload-artifact@master
with:
name: coverage-report
path: target/site/jacoco/
coverage:
name: Quality Assurance
runs-on: ubuntu-20.04
needs: [ build ]
steps:
- name: Download coverage report
uses: actions/download-artifact@master
with:
name: coverage-report
path: target/site/jacoco/
- name: Codecov coverage reporting
uses: codecov/codecov-action@v2
with:
files: target/site/jacoco/jacoco.xml
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
- name: Codacy coverage reporting
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: target/site/jacoco/jacoco.xml
- name: Codacy analysis reporting
uses: codacy/codacy-analysis-cli-action@4.0.0