Skip to content

Commit be49ec0

Browse files
committed
testing sonar cube working dir
1 parent ba852f8 commit be49ec0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/unit-tests-srv.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ jobs:
5252
name: codecov-umbrella
5353
fail_ci_if_error: true
5454
- name: Set working directory fir SonarCloud
55-
run: mkdir -p $GITHUB_WORKSPACE/.scannerwork && chmod -R 777 $GITHUB_WORKSPACE/.scannerwork
55+
run: mkdir -p $GITHUB_WORKSPACE/.scannerwork && chmod -R 777 $GITHUB_WORKSPACE/.scannerwork && pwd && ls -a
5656

5757
- name: SonarCloud Scan
5858
uses: SonarSource/sonarqube-scan-action@v4.1.0
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
6161
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
62+
with:
63+
args: -Dsonar.working.directory=$GITHUB_WORKSPACE/.scannerwork
6264
# - name: Clean Mongo DB
6365
# run: make clean-mongo-db
6466
# - name: Upload coverage to Codecov

0 commit comments

Comments
 (0)