Skip to content

Commit

Permalink
Update test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
kcs-koteswara committed Oct 1, 2024
1 parent c5a767d commit 2098648
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/vertx-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
java-version: '17'
distribution: 'adopt'

# - name: Authenticate to Google Cloud
# uses: google-github-actions/auth@v2
# with:
# project_id: 'som-rit-infrastructure-prod'
# workload_identity_provider: 'projects/294515190965/locations/global/workloadIdentityPools/github/providers/susom-github'
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
project_id: 'som-rit-infrastructure-prod'
workload_identity_provider: 'projects/294515190965/locations/global/workloadIdentityPools/github/providers/susom-github'

- name: Copy Maven settings
run: cp ./travis/settings.xml $HOME/.m2/settings.xml
Expand All @@ -41,6 +41,16 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Install dependencies
run: mvn install -DskipTests=true

- name: Run Tests and SonarCloud Analysis
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
echo "test"
mvn -e -Pcoverage verify sonar:sonar -Dsonar.projectKey=susom_vertx-base
- name: Update version in pom.xml
run: sed -i "s/-SNAPSHOT/-build-${{ github.run_number }}/" pom.xml

Expand Down

0 comments on commit 2098648

Please sign in to comment.