From 6089e142bde09d83e8ff13e2a70aa0e8aa4fda97 Mon Sep 17 00:00:00 2001 From: JohannesSetiawan Date: Tue, 6 Feb 2024 10:48:32 +0700 Subject: [PATCH] Modify workflow name and add exclusion to SonarQube --- .github/workflows/django-build-test.yml | 2 +- sonar-project.properties | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/django-build-test.yml b/.github/workflows/django-build-test.yml index fd5d91e..cce6dbb 100644 --- a/.github/workflows/django-build-test.yml +++ b/.github/workflows/django-build-test.yml @@ -1,4 +1,4 @@ -name: Django CI +name: Build and Test on: push: diff --git a/sonar-project.properties b/sonar-project.properties index 180ba9a..50fe54b 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -6,6 +6,9 @@ sonar.projectKey=revelio ## Path to sources sonar.sources=. +## Exclusion +sonar.exclusion=**/manage.py, **/node_modules/**, **/revelio/**, **/tests.py, **/apps.py, **/admin.py, **/__init__.py + ## Source encoding sonar.sourceEncoding=UTF-8