Skip to content

Commit

Permalink
module as input
Browse files Browse the repository at this point in the history
  • Loading branch information
manuraf committed Jan 25, 2024
1 parent 39995fc commit 82d0cbe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/call_code_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pr_number:
type: string
required: true
module:
type: string
required: true
source_branch:
type: string
required: true
Expand Down Expand Up @@ -32,7 +35,7 @@ jobs:

- name: Build and Analyze
shell: bash
run: mvn --projects :test-coverage --also-make verify -Ponboarding-ms,report,coverage
run: mvn --projects :test-coverage --also-make verify -P${{ inputs.module }},report,coverage
-Dsonar.organization=pagopa
-Dsonar.projectKey=${{ inputs.sonar_key }}
-Dsonar.token=${{ secrets.SONAR_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr_functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ jobs:
source_branch: ${{ github.head_ref }}
target_branch: ${{ github.base_ref }}
sonar_key: 'pagopa_selfcare-onboarding'
module: 'onboarding-ms'
1 change: 1 addition & 0 deletions .github/workflows/pr_libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ jobs:
source_branch: ${{ github.head_ref }}
target_branch: ${{ github.base_ref }}
sonar_key: 'pagopa_selfcare-onboarding'
module: 'onboarding-sdk'
1 change: 1 addition & 0 deletions .github/workflows/pr_ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
source_branch: ${{ github.head_ref }}
target_branch: ${{ github.base_ref }}
sonar_key: 'pagopa_selfcare-onboarding'
module: 'onboarding-functions'

build_docker:
name: 'Build Docker image'
Expand Down

0 comments on commit 82d0cbe

Please sign in to comment.