Skip to content

Commit

Permalink
Merge pull request #121 from casaras1/main
Browse files Browse the repository at this point in the history
latest changes
  • Loading branch information
casaras1 authored Nov 19, 2024
2 parents 69c88ba + ba0afe7 commit aa51b9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build Workflow

run-name: 'Build Workflow -- ${{ github.head_ref || github.ref_name }}'
run-name: 'Build Workflow -- ${{ github.head_ref || github.ref_name }}'

# Pipeline/Workflow Triggers for the test demo
on:
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/code_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,21 @@ jobs:
distribution: 'zulu'

# settings.xml credentials for Nexus
- name: maven settings
uses: s4u/maven-settings-action@v3.1.0
with:
servers: '[{"id": "nexus-repo", "username": "${{ secrets.NEXUS_USER_DEMO }}", "password": "${{secrets.NEXUS_PASSWORD_DEMO}}" }]'
# - name: maven settings
# uses: s4u/maven-settings-action@v3.1.0
# with:
# servers: '[{"id": "nexus-repo", "username": "${{ secrets.NEXUS_USER_DEMO }}", "password": "${{secrets.NEXUS_PASSWORD_DEMO}}" }]'

- name: IKMDEV Code Coverage
uses: ikmdev/maven-code-coverage-action@main
with:
repo_name: ${{github.event.workflow_run.head_repository.full_name}}
branch_name: ${{github.event.workflow_run.head_branch}}
sonarcloud_token: ${{ secrets.SONAR_TOKEN }}
sonarcloud_host_url: ${{ 'https://sonarcloud.io/' }}
sonarcloud_organization: ${{ github.repository_owner }}
sonarcloud_sources: ${{ 'src/main/java' }}
sonarcloud_projectKey: ${{ github.repository_owner }}_${{ github.event.repository.name }}
sonarcloud_coverage_jacoco_xmlReportPaths: ${{ 'target/site/jacoco/jacoco.xml' }}
sonarcloud_java_binaries: ${{ 'target/classes' }}
sonarcloud_tests: ${{ 'src/test/java' }}

0 comments on commit aa51b9c

Please sign in to comment.