File tree 6 files changed +1
-100
lines changed
6 files changed +1
-100
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
.github /dependabot.yml @ ItsDrike
6
6
.github /workflows /** @ ItsDrike
7
7
.github /scripts /** @ ItsDrike
8
- .codeclimate.yml
9
8
10
9
# Meta (config files for the repo itself)
11
10
.github /CODEOWNERS @ ItsDrike
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33
33
run : |
34
34
poetry run task test
35
35
36
- - name : Normalize coverage
37
- shell : bash
38
- run : |
39
- python .github/scripts/normalize_coverage.py
40
- mv -v .coverage .coverage.${{ matrix.platform }}.${{ matrix.python-version }}
41
-
42
- - name : Upload coverage artifact
43
- uses : actions/upload-artifact@v4
44
- with :
45
- name : coverage.${{ matrix.platform }}.${{ matrix.python-version }}
46
- path : ./.coverage.${{ matrix.platform }}.${{ matrix.python-version }}
47
- include-hidden-files : true
48
- retention-days : 1
49
- if-no-files-found : error
50
-
51
- upload-coverage :
52
- needs : [unit-tests]
53
- runs-on : ubuntu-latest
54
-
55
- steps :
56
- - name : Checkout repository
57
- uses : actions/checkout@v4
58
-
59
- - name : Setup poetry
60
- id : poetry_setup
61
- uses : ItsDrike/setup-poetry@v1
62
- with :
63
- python-version : 3.12
64
- install-args : " --no-root --only test"
65
-
66
- - name : Download all coverage artifacts
67
- uses : actions/download-artifact@v4
68
- with :
69
- pattern : coverage.*
70
- merge-multiple : true # support downloading multiple artifacts to same dir
71
-
72
- # Combine all of the coverage files (for each os, python version - from matrix)
73
- # into a single coverage file (.coverage), and produce a final (combined) coverage report.
74
- - name : Combine coverage
75
- run : |
76
- coverage combine
77
- coverage xml
78
- coverage report
79
-
80
- - name : Upload coverage to codeclimate
81
-
82
- env :
83
- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
84
- with :
85
- coverageLocations : .coverage.xml:coverage.py
86
-
87
36
tests-done :
88
37
needs : [unit-tests]
89
38
if : always() && !cancelled()
Original file line number Diff line number Diff line change 3
3
[ ![ discord chat] ( https://img.shields.io/discord/936788458939224094.svg?logo=Discord )] ( https://discord.gg/C2wX7zduxC )
4
4
![ supported python versions] ( https://img.shields.io/pypi/pyversions/mcproto.svg )
5
5
[ ![ current PyPI version] ( https://img.shields.io/pypi/v/mcproto.svg )] ( https://pypi.org/project/mcproto/ )
6
- [ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/9464f1037f07a795de35/test_coverage )] ( https://codeclimate.com/github/py-mine/mcproto/test_coverage )
7
6
[ ![ Validation] ( https://github.com/ItsDrike/mcproto/actions/workflows/validation.yml/badge.svg )] ( https://github.com/ItsDrike/mcproto/actions/workflows/validation.yml )
8
7
[ ![ Unit tests] ( https://github.com/ItsDrike/mcproto/actions/workflows/unit-tests.yml/badge.svg )] ( https://github.com/ItsDrike/mcproto/actions/workflows/unit-tests.yml )
9
8
[ ![ Docs] ( https://img.shields.io/readthedocs/mcproto?label=Docs )] ( https://mcproto.readthedocs.io/ )
Original file line number Diff line number Diff line change
1
+ Remove codeclimate
You can’t perform that action at this time.
0 commit comments