fix(deps): update dependency com.couchbase.client:metrics-micrometer to v0.5.1 #841
Workflow file for this run
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: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
services: | |
docker: | |
image: docker:dind | |
options: --privileged | |
steps: | |
- name: Configure JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 16 | |
distribution: 'temurin' | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Gradle Build and Test | |
uses: gradle/[email protected] | |
with: | |
arguments: --build-cache build test codeCoverageReport testAggregateReports | |
- name: Add coverage to PR | |
id: jacoco | |
uses: madrapps/[email protected] | |
with: | |
paths: "./build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml" | |
token: ${{ secrets.BOT_REPO_TOKEN }} | |
min-coverage-overall: 40 | |
min-coverage-changed-files: 60 | |
if: github.event_name == 'pull_request' | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: "**/build/reports/xml/**/TEST-*.xml" | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v3 | |
# with: | |
# files: ./build/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml | |
# flags: unittests | |
# name: codecov-umbrella | |
# fail_ci_if_error: true | |
# verbose: true | |
# java-version: 11 |