Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta: Don't allow overlap in sonar cube file classification #9699

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/sonar-cloud-static-analysis.yml
@@ -1,9 +1,13 @@
name: Sonar Cloud Static Analysis
on:
# Automatically run at the end of every day.
schedule:
# At the end of every day
- cron: '0 0 * * *'

# Run if this file is changed in a pull request (to get immediate feedback).
pull_request:
paths: [".github/workflows/sonar-cloud-static-analysis.yml"]

jobs:
build:
name: Static Analysis
Expand Down Expand Up @@ -52,8 +56,8 @@ jobs:
echo "sonar.cfamily.compile-commands=${{ github.workspace }}/Build/compile_commands.json" >> ${{ github.workspace }}/sonar-project.properties
echo "sonar.cfamily.threads=2" >> ${{ github.workspace }}/sonar-project.properties
echo "sonar.host.url=${{ env.SONAR_SERVER_URL }}" >> ${{ github.workspace }}/sonar-project.properties
echo "sonar.sources=." >> ${{ github.workspace }}/sonar-project.properties
echo "sonar.tests=${{ github.workspace }}/Tests,${{ github.workspace }}/Base/res,${{ github.workspace }}/Base/www" >> ${{ github.workspace }}/sonar-project.properties
echo "sonar.sources=AK,Build,Userland,Kernel,Meta" >> ${{ github.workspace }}/sonar-project.properties
echo "sonar.tests=Tests" >> ${{ github.workspace }}/sonar-project.properties

# === OS SETUP ===
# TODO: Is there someway to share these steps with the cmake.yml?
Expand Down