From 81424316e0ce58de69fa55385a842c74571ced0d Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Fri, 2 Jan 2026 19:10:34 +0100 Subject: [PATCH 1/2] Add QA workflow for OneUnit testing --- .github/workflows/qa.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/qa.yaml diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml new file mode 100644 index 0000000..01d5060 --- /dev/null +++ b/.github/workflows/qa.yaml @@ -0,0 +1,18 @@ +# С тестированием OneUnit +name: Контроль качества + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + sonar: + uses: autumn-library/workflows/.github/workflows/sonar.yml@main + with: + coveralls: true + github_repository: oscript-library/ovm + oscript_version: 'dev' + test_engine: 'oneunit' + secrets: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 1e34d81462ed19bb858a7ebeea7f41f024ad81c5 Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Fri, 2 Jan 2026 19:19:35 +0100 Subject: [PATCH 2/2] Update coverage report path in sonar-project.properties --- sonar-project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 2dcfebc..66536cb 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -14,4 +14,4 @@ sonar.sources=./src # Encoding of the source code. Default is default system encoding sonar.sourceEncoding=UTF-8 -sonar.coverageReportPaths=coverage/genericCoverage.xml +sonar.coverageReportPaths=out/genericCoverage.xml