Skip to content

Commit

Permalink
Добавлена проверка сонаркубом
Browse files Browse the repository at this point in the history
  • Loading branch information
sfaqer committed Oct 8, 2024
1 parent 3ebfaa1 commit 4e7e5e7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Контроль качества

on:
push:
pull_request:
workflow_dispatch:

jobs:
sonar:
uses: autumn-library/workflows/.github/workflows/sonar.yml@main
with:
github_repository: nixel2007/decorator
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# decorator

[![Тестирование](https://github.com/nixel2007/decorator/actions/workflows/testing.yml/badge.svg?branch=master)](https://github.com/nixel2007/decorator/actions/workflows/testing.yml)
[![Статус порога качества](https://sonar.openbsl.ru/api/project_badges/measure?project=decorator&metric=alert_status)](https://sonar.openbsl.ru/dashboard?id=decorator)


Библиотека для создания оберток (декораторов) над классами.

Декоратор повторяет публичный интерфейс класса (экспортные методы и поля),
Expand Down
6 changes: 6 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sonar.projectKey=decorator
sonar.projectName=decorator
sonar.sources=./src
sonar.tests=./tests
sonar.sourceEncoding=UTF-8
sonar.coverageReportPaths=out/genericCoverage.xml

0 comments on commit 4e7e5e7

Please sign in to comment.