File tree Expand file tree Collapse file tree 5 files changed +20
-15
lines changed Expand file tree Collapse file tree 5 files changed +20
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,12 +26,11 @@ jobs:
26
26
- name : Install dependencies
27
27
run : |
28
28
make dev-dependencies
29
- - name : Test & publish code coverage
30
-
31
- env :
32
- CC_TEST_REPORTER_ID : ${{ secrets.CODECLIMATE_REPORTER_ID }}
29
+ - name : Install dependencies
30
+ run : make dev-dependencies
31
+ - name : Run coverage
32
+ run : make ci-coverage
33
+ - uses : qltysh/qlty-action/coverage@v1
33
34
with :
34
- coverageCommand : make ci-coverage
35
- coverageLocations : |
36
- ${{github.workspace}}/coverage.lcov:lcov
37
- debug : true
35
+ token : ${{secrets.QLTY_COVERAGE_TOKEN}}
36
+ 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 : dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage
1
+ .PHONY : dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage qlty
2
2
3
3
# ########################
4
4
# ##### dev commands #####
18
18
uv run ruff check . --fix
19
19
uv run ruff format .
20
20
21
+ qlty :
22
+ qlty smells --all
23
+
21
24
check :
22
25
uv run tox
23
26
Original file line number Diff line number Diff line change 4
4
[ ![ stability-beta] ( https://img.shields.io/badge/stability-beta-33bbff.svg )] ( https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#beta )
5
5
6
6
[ ![ Python tests] ( https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml/badge.svg?branch=main )] ( https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml )
7
- [ ![ Maintainability] ( https://api.codeclimate.com/v1/ badges/593e78ec96ed5ebb0dd3 /maintainability )] ( https://codeclimate.com/github /febus982/bootstrap-python-package/maintainability )
8
- [ ![ Test Coverage] ( https://api.codeclimate.com/v1/ badges/593e78ec96ed5ebb0dd3 /test_coverage )] ( https://codeclimate.com/github /febus982/bootstrap-python-package/test_coverage )
7
+ [ ![ Maintainability] ( https://qlty.sh/ badges/d1e0d7b6-ab8a-463d-bd55-5c747a6fe1f9 /maintainability.svg )] ( https://qlty.sh/gh /febus982/projects/ bootstrap-python-package )
8
+ [ ![ Code Coverage] ( https://qlty.sh/ badges/d1e0d7b6-ab8a-463d-bd55-5c747a6fe1f9 /test_coverage.svg )] ( https://qlty.sh/gh /febus982/projects/ bootstrap-python-package )
9
9
10
10
[ ![ Checked with mypy] ( https://www.mypy-lang.org/static/mypy_badge.svg )] ( https://mypy-lang.org/ )
11
11
[ ![ 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