Skip to content

Commit 3e4ff84

Browse files
committed
Remove codeclimate
1 parent 93fdfb5 commit 3e4ff84

File tree

6 files changed

+1
-100
lines changed

6 files changed

+1
-100
lines changed

.codeclimate.yml

-36
This file was deleted.

.github/CODEOWNERS

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
.github/dependabot.yml @ItsDrike
66
.github/workflows/** @ItsDrike
77
.github/scripts/** @ItsDrike
8-
.codeclimate.yml
98

109
# Meta (config files for the repo itself)
1110
.github/CODEOWNERS @ItsDrike

.github/scripts/normalize_coverage.py

-11
This file was deleted.

.github/workflows/unit-tests.yml

-51
Original file line numberDiff line numberDiff line change
@@ -33,57 +33,6 @@ jobs:
3333
run: |
3434
poetry run task test
3535
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-
uses: paambaati/[email protected]
82-
env:
83-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
84-
with:
85-
coverageLocations: .coverage.xml:coverage.py
86-
8736
tests-done:
8837
needs: [unit-tests]
8938
if: always() && !cancelled()

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![discord chat](https://img.shields.io/discord/936788458939224094.svg?logo=Discord)](https://discord.gg/C2wX7zduxC)
44
![supported python versions](https://img.shields.io/pypi/pyversions/mcproto.svg)
55
[![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)
76
[![Validation](https://github.com/ItsDrike/mcproto/actions/workflows/validation.yml/badge.svg)](https://github.com/ItsDrike/mcproto/actions/workflows/validation.yml)
87
[![Unit tests](https://github.com/ItsDrike/mcproto/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/ItsDrike/mcproto/actions/workflows/unit-tests.yml)
98
[![Docs](https://img.shields.io/readthedocs/mcproto?label=Docs)](https://mcproto.readthedocs.io/)

changes/379.internal.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove codeclimate

0 commit comments

Comments
 (0)