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:
2525 uses : astral-sh/setup-uv@v6
2626 - name : Install dependencies
2727 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
3233 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
22
33containers :
44 docker compose build --build-arg UID=` id -u`
4848 uv run ruff check . --fix
4949 uv run ruff format .
5050
51+ qlty :
52+ qlty smells --all
53+
5154check : lint format typing test
5255
5356docs :
Original file line number Diff line number Diff line change 11# Bootstrap python service
22[ ![ 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 )
33[ ![ 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 )
66
77[ ![ Checked with mypy] ( https://www.mypy-lang.org/static/mypy_badge.svg )] ( https://mypy-lang.org/ )
88[ ![ 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