chore(deps): bump io.netty:netty-common from 4.1.108.Final to 4.1.115… #207
This file contains 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: | |
branches: | |
- main | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v6 | |
if: matrix.os == 'ubuntu-latest' | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: 8 | |
cache: maven | |
- name: Build with Maven (not Windows) | |
env: | |
AWS_REGION: us-west-2 | |
run: mvn -U -ntp verify | |
if: matrix.os != 'windows-latest' | |
- name: Build with Maven (Windows) | |
env: | |
AWS_REGION: us-west-2 | |
run: mvn -U -ntp verify | |
shell: cmd | |
if: matrix.os == 'windows-latest' | |
- name: Upload Failed Test Report | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: Failed Test Report | |
path: integration/target/surefire-reports | |
- name: Upload Coverage | |
uses: actions/upload-artifact@v3 | |
if: matrix.os == 'ubuntu-latest' | |
with: | |
name: Coverage Report ${{ matrix.os }} | |
path: integration/target/jacoco-report | |
- name: Convert Jacoco unit test report to Cobertura | |
run: python3 .github/scripts/cover2cover.py integration/target/jacoco-report/jacoco.xml > integration/target/jacoco-report/cobertura.xml | |
if: matrix.os == 'ubuntu-latest' | |
- name: cobertura-report-unit-test | |
if: matrix.os == 'ubuntu-latest' | |
uses: 5monkeys/cobertura-action@v14 | |
continue-on-error: true | |
with: | |
# The GITHUB_TOKEN for this repo | |
repo_token: ${{ github.token }} | |
# Path to the cobertura file. | |
path: integration/target/jacoco-report/cobertura.xml | |
# If files with 100% should be skipped from report. | |
skip_covered: false | |
# Minimum allowed coverage percentage as an integer. | |
minimum_coverage: 50 #TODO: Increase the coverage. Currently some of the service code is not testable | |
# Show line rate as specific column. | |
show_line: true | |
# Show branch rate as specific column. | |
show_branch: true | |
# Use class names instead of the filename | |
show_class_names: true | |
# Use a unique name for the report and comment | |
report_name: Unit Tests Coverage Report | |
only_changed_files: true |