File tree Expand file tree Collapse file tree 6 files changed +733
-713
lines changed Expand file tree Collapse file tree 6 files changed +733
-713
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,12 +25,11 @@ jobs:
25
25
uses : astral-sh/setup-uv@v6
26
26
- name : Install dependencies
27
27
run : make dev-dependencies
28
- - name : Test & publish code coverage
29
-
30
- env :
31
- CC_TEST_REPORTER_ID : ${{ secrets.CODECLIMATE_REPORTER_ID }}
28
+ - name : Install dependencies
29
+ run : make dev-dependencies
30
+ - name : Run coverage
31
+ run : make ci-coverage
32
+ - uses : qltysh/qlty-action/coverage@v1
32
33
with :
33
- coverageCommand : make ci-coverage
34
- coverageLocations : |
35
- ${{github.workspace}}/coverage.lcov:lcov
36
- debug : true
34
+ token : ${{secrets.QLTY_COVERAGE_TOKEN}}
35
+ files : ${{github.workspace}}/coverage.lcov
Original file line number Diff line number Diff line change
1
+ config_version = " 0"
2
+ exclude_patterns = []
3
+ test_patterns = [" **/tests/**" ]
4
+
5
+ [[source ]]
6
+ name = " default"
7
+ default = true
Original file line number Diff line number Diff line change 1
- .PHONY : docs docs-build adr
1
+ .PHONY : docs docs-build adr qlty
2
2
3
3
containers :
4
4
docker compose build --build-arg UID=` id -u`
48
48
uv run ruff check . --fix
49
49
uv run ruff format .
50
50
51
+ qlty :
52
+ qlty smells --all
53
+
51
54
check : lint format typing test
52
55
53
56
docs :
Original file line number Diff line number Diff line change 1
1
# Bootstrap python service
2
2
[ ![ CI Pipeline] ( https://github.com/febus982/bootstrap-python-fastapi/actions/workflows/ci-pipeline.yml/badge.svg )] ( https://github.com/febus982/bootstrap-python-fastapi/actions/workflows/ci-pipeline.yml )
3
3
[ ![ Python tests] ( https://github.com/febus982/bootstrap-python-fastapi/actions/workflows/python-tests.yml/badge.svg?branch=main )] ( https://github.com/febus982/bootstrap-python-fastapi/actions/workflows/python-tests.yml )
4
- [ ![ Test Coverage] ( https://api.codeclimate.com/v1/ badges/a2ab183e64778e21ae14 /test_coverage )] ( https://codeclimate.com/github /febus982/bootstrap-python-fastapi/test_coverage )
5
- [ ![ Maintainability] ( https://api.codeclimate.com/v1/ badges/a2ab183e64778e21ae14 /maintainability )] ( https://codeclimate.com/github /febus982/bootstrap-python-fastapi/maintainability )
4
+ [ ![ Code Coverage] ( https://qlty.sh/ badges/8b83a4d5-bb29-402c-828b-7e6bb5fffde7 /test_coverage.svg )] ( https://qlty.sh/gh /febus982/projects/ bootstrap-python-fastapi )
5
+ [ ![ Maintainability] ( https://qlty.sh/ badges/8b83a4d5-bb29-402c-828b-7e6bb5fffde7 /maintainability.svg )] ( https://qlty.sh/gh /febus982/projects/ bootstrap-python-fastapi )
6
6
7
7
[ ![ Checked with mypy] ( https://www.mypy-lang.org/static/mypy_badge.svg )] ( https://mypy-lang.org/ )
8
8
[ ![ Ruff] ( https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json )] ( https://github.com/charliermarsh/ruff )
You can’t perform that action at this time.
0 commit comments