Skip to content

Commit

Permalink
fix sonar report build
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankit-google committed Sep 23, 2024
1 parent 7ad81db commit e21a51f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-sonar-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ jobs:

- name: Copy coverage report
run: |
mkdir -p cdap-coverage/target/
cp -r artifacts/reports-${{ github.event.workflow_run.id }}/cdap-coverage/target/ cdap-coverage/target/
ls -R cdap-coverage
cp -r artifacts/reports-${{ github.event.workflow_run.id }}/cdap/ cdap/
- name: Sonar Report on PR
# For whatever reason we get PR 69 for develop branch with both head and base as develop.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:
with:
name: reports-${{ github.run_id }}
path: |
**/target/rat.txt
**/target/site/jacoco-aggregate/jacoco.xml
**/target/*
**/target/surefire-reports/*
**/target/site/*

0 comments on commit e21a51f

Please sign in to comment.