Skip to content

Commit

Permalink
testing sonar cube working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Jan 14, 2025
1 parent ba852f8 commit be49ec0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/unit-tests-srv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ jobs:
name: codecov-umbrella
fail_ci_if_error: true
- name: Set working directory fir SonarCloud
run: mkdir -p $GITHUB_WORKSPACE/.scannerwork && chmod -R 777 $GITHUB_WORKSPACE/.scannerwork
run: mkdir -p $GITHUB_WORKSPACE/.scannerwork && chmod -R 777 $GITHUB_WORKSPACE/.scannerwork && pwd && ls -a

- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: -Dsonar.working.directory=$GITHUB_WORKSPACE/.scannerwork
# - name: Clean Mongo DB
# run: make clean-mongo-db
# - name: Upload coverage to Codecov
Expand Down

0 comments on commit be49ec0

Please sign in to comment.