From d7bc9114d81a9fcd7923a812dc6fb6d6f2b0ff78 Mon Sep 17 00:00:00 2001 From: przemek83 <4788832+przemek83@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:23:53 +0100 Subject: [PATCH] Add static analysis and coverage workflow. --- .github/workflows/static-analysis-and-coverage.yml | 10 ++++++++++ sonar-project.properties | 12 ++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/static-analysis-and-coverage.yml create mode 100644 sonar-project.properties diff --git a/.github/workflows/static-analysis-and-coverage.yml b/.github/workflows/static-analysis-and-coverage.yml new file mode 100644 index 0000000..6b420bc --- /dev/null +++ b/.github/workflows/static-analysis-and-coverage.yml @@ -0,0 +1,10 @@ +name: Static analysis and coverage + +on: [push, pull_request] + +jobs: + analyze: + uses: przemek83/workflows/.github/workflows/static-analysis-and-coverage-qt.yml@main + secrets: inherit + with: + qt-version: 6.5.* \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..f6c7c57 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,12 @@ +sonar.projectKey=przemek83_qwtble +sonar.organization=przemek83 + +sonar.projectName=qwtble +sonar.projectVersion=1.0 + +sonar.sources=src +sonar.tests=tests + +sonar.sourceEncoding=UTF-8 + +sonar.cfamily.threads=4