From ff5670380bf595e9ebccd101225baf894ddfddb7 Mon Sep 17 00:00:00 2001 From: przemek83 <4788832+przemek83@users.noreply.github.com> Date: Thu, 12 Dec 2024 08:47:57 +0100 Subject: [PATCH] Add static analysis and coverage reporting. --- .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..a5c3f0a --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,12 @@ +sonar.projectKey=przemek83_eible +sonar.organization=przemek83 + +sonar.projectName=eible +sonar.projectVersion=1.0 + +sonar.sources=src +sonar.tests=tests + +sonar.sourceEncoding=UTF-8 + +sonar.cfamily.threads=4