Merge pull request #88 from collerek/forwardref

update workflow for code climate coverage
This commit is contained in:
collerek
2021-01-29 21:49:08 +07:00
committed by GitHub
5 changed files with 19 additions and 7 deletions

11
.codeclimate.yml Normal file
View File

@ -0,0 +1,11 @@
version: "2"
checks:
method-complexity:
config:
threshold: 8
engines:
bandit:
enabled: true
checks:
assert_used:
enabled: false

View File

@ -66,3 +66,7 @@ jobs:
- run: mypy --config-file mypy.ini ormar tests - run: mypy --config-file mypy.ini ormar tests
- name: Upload coverage - name: Upload coverage
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_COVERAGE_TOKEN }}

View File

@ -13,9 +13,6 @@
<a href="https://www.codefactor.io/repository/github/collerek/ormar"> <a href="https://www.codefactor.io/repository/github/collerek/ormar">
<img src="https://www.codefactor.io/repository/github/collerek/ormar/badge" alt="CodeFactor" /> <img src="https://www.codefactor.io/repository/github/collerek/ormar/badge" alt="CodeFactor" />
</a> </a>
<a href="https://app.codacy.com/manual/collerek/ormar?utm_source=github.com&utm_medium=referral&utm_content=collerek/oramr&utm_campaign=Badge_Grade_Dashboard">
<img src="https://api.codacy.com/project/badge/Grade/62568734f70f49cd8ea7a1a0b2d0c107" alt="Codacy" />
</a>
</p> </p>
### Overview ### Overview

View File

@ -13,9 +13,6 @@
<a href="https://www.codefactor.io/repository/github/collerek/ormar"> <a href="https://www.codefactor.io/repository/github/collerek/ormar">
<img src="https://www.codefactor.io/repository/github/collerek/ormar/badge" alt="CodeFactor" /> <img src="https://www.codefactor.io/repository/github/collerek/ormar/badge" alt="CodeFactor" />
</a> </a>
<a href="https://app.codacy.com/manual/collerek/ormar?utm_source=github.com&utm_medium=referral&utm_content=collerek/oramr&utm_campaign=Badge_Grade_Dashboard">
<img src="https://api.codacy.com/project/badge/Grade/62568734f70f49cd8ea7a1a0b2d0c107" alt="Codacy" />
</a>
</p> </p>
### Overview ### Overview

View File

@ -1,2 +1,5 @@
[metadata] [metadata]
description-file = README.md description-file = README.md
[pep8]
max-line-length = 88