Skip to content

Commit

Permalink
Merge pull request #836 from eclipse/sonar
Browse files Browse the repository at this point in the history
copy libraries after running gradle
  • Loading branch information
amvanbaren authored Nov 17, 2023
2 parents a38c9f1 + 0564da5 commit 97e5758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ jobs:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Make server libraries directory
run: mkdir server/libraries
- name: Copy server libraries
run: find ~/.gradle/caches -type f -name '*.jar' -exec cp {} server/libraries \;
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Generate JaCoCo test report
run: server/gradlew --no-daemon -p server jacocoTestReport
- name: Make server libraries directory
run: mkdir server/libraries
- name: Copy server libraries
run: find ~/.gradle/caches -type f -name '*.jar' -exec cp {} server/libraries \;
- name: SonarCloud Scan on PR
if: github.event.workflow_run.event == 'pull_request'
uses: sonarsource/sonarcloud-github-action@master
Expand Down

0 comments on commit 97e5758

Please sign in to comment.