Skip to content

Commit

Permalink
Disable sonar with PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Keidan committed Dec 26, 2023
1 parent 3d8dfc1 commit 9adbb7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
run: |
cmake -S . -B build -DDISTRIBUTION=debug -G "${{ env.CMAKE_GENERATOR }}"
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build
- name: Run sonar-scanner
- name: Run sonar-scanner (master)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand All @@ -122,3 +122,7 @@ jobs:
--define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" \
--define sonar.coverageReportPaths=coverage.xml \
--define sonar.coverage.exclusions=**/*test*
if: github.event_name != 'pull_request'
- name: Run sonar-scanner (PR)
run: echo 'Temporarily disabled'
if: github.event_name == 'pull_request'

0 comments on commit 9adbb7e

Please sign in to comment.