This commit is contained in:
Arthur Jiang 2020-10-08 18:06:59 +08:00
Родитель 5c21000056
Коммит eac7d9e472
2 изменённых файлов: 0 добавлений и 24 удалений

23
.github/workflows/quality.yml поставляемый
Просмотреть файл

@ -1,23 +0,0 @@
name: quality
on: [ pull_request, workflow_dispatch ]
jobs:
check-quality:
runs-on: ubuntu-latest
name: A job to check my code quality
steps:
- name: Check code meets quality standards
id: code-inspector
uses: codeinspectorio/github-action@master
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
code_inspector_access_key: ${{ secrets.CODE_INSPECTOR_ACCESS_KEY }}
code_inspector_secret_key: ${{ secrets.CODE_INSPECTOR_SECRET_KEY }}
min_quality_grade: 'WARNING'
min_quality_score: '50'
max_defects_rate: '0.08'
max_complex_functions_rate: '0.08'
max_long_functions_rate: '0.08'
project_name: ''
max_timeout_sec: '600'

Просмотреть файл

@ -18,7 +18,6 @@
[![Stack Overflow](https://raw.githubusercontent.com/microsoft/maro/master/docs/source/images/badges/stack_overflow.svg)](https://stackoverflow.com/questions/ask?tags=maro)
[![Releases](https://img.shields.io/github/release-date-pre/microsoft/maro)](https://github.com/microsoft/maro/releases)
[![Commits](https://img.shields.io/github/commits-since/microsoft/maro/latest/master)](https://github.com/microsoft/maro/commits/master)
[![Quality](https://github.com/microsoft/maro/workflows/quality/badge.svg?branch=master)](https://github.com/microsoft/maro/actions?query=workflow%3Aquality)
[![Vulnerability Scan](https://github.com/microsoft/maro/workflows/vulnerability%20scan/badge.svg)](https://github.com/microsoft/maro/actions?query=workflow%3A%22vulnerability+scan%22)
[![Lint](https://github.com/microsoft/maro/workflows/lint/badge.svg)](https://github.com/microsoft/maro/actions?query=workflow%3Alint)
[![Coverage](https://img.shields.io/codecov/c/github/microsoft/maro)](https://codecov.io/gh/microsoft/maro)