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 }} 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