Update dependency io.micronaut.micrometer:micronaut-micrometer-registry-prometheus to v5.10.2 #809
Workflow file for this run
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Java CI | |
on: | |
push: | |
branches: [main, development] | |
pull_request: | |
branches: [main, development] | |
jobs: | |
build: | |
name: Build and generate coverage report with Gradle in JDK ${{ matrix.jdk }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
# os: [ubuntu-latest, windows-latest, macos-latest] | |
os: [ubuntu-latest] | |
jdk: [17] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up OpenJDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.jdk }} | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Get Python location | |
run: python -c "import os, sys; print(sys.executable)" | |
- name: Update pip | |
run: python3 -m pip install --upgrade pip | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Prepare | |
run: mkdir -p /tmp/mapping-service/{schemas} | |
- name: Clean | |
run: ./gradlew clean | |
# - if: matrix.os == 'windows-latest' | |
# name: Test with Gradle on Windows | |
# run: ./gradlew build -DapplicationProperties="src\test\resources\test-config\application-test-windows.properties" | |
- if: matrix.os != 'windows-latest' | |
name: Test with Gradle on ${{ matrix.os }} | |
run: ./gradlew build -DapplicationProperties="src/test/resources/test-config/application-test.properties" | |
- name: Generate report | |
run: ./gradlew jacocoTestReport | |
# - name: Codecov | |
# uses: codecov/codecov-action@v1 | |
# with: | |
# files: ./build/reports/jacoco/test/jacocoTestReport.xml |