Skip to content

[OPS] Update hadoop-common to 3.4.2 #195

[OPS] Update hadoop-common to 3.4.2

[OPS] Update hadoop-common to 3.4.2 #195

Workflow file for this run

# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Report tests results
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Tests report
run: ./gradlew :dumper:app:jacocoTestReport
- name: Add coverage JaCoCo report to PR
id: jacoco
uses: madrapps/[email protected]
if: github.event_name == 'pull_request'
with:
paths: ${{ github.workspace }}/dumper/app/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 50
min-coverage-changed-files: 50
title: "Code Coverage Report"
debug-mode: false
update-comment: true
- name: Upload JaCoCo HTML report
uses: actions/upload-artifact@v4
with:
name: jacoco-html-report
path: ${{ github.workspace }}/dumper/app/build/reports/jacoco/test/html/