Skip to content

adding update user with profiles #122

adding update user with profiles

adding update user with profiles #122

Workflow file for this run

name: Coverage on PR
on:
pull_request:
jobs:
pr_scan:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup JDK
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test and Integration tests
run: |
mvn test -Dquarkus.package.type=native -Dquarkus.application.name=atm-layer-model -Dquarkus.profile=prod
- name: Add coverage to PR
id: jacoco
uses: madrapps/jacoco-report@7a334255fbce42f385d7567c25d986a9c62e2971
with:
paths: target/jacoco-report/jacoco.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 90
title: jacoco
update-comment: true
- name: Fail PR if overall coverage is less than 90%
if: ${{ steps.jacoco.outputs.coverage-overall < 90.0 }}
uses: actions/github-script@v6
with:
script: |
core.setFailed('Overall coverage is less than 90%!')