Skip to content

Commit 2a2dd1b

Browse files
authored
Merge pull request #710 from TotallyNotRobots/revert-700-mypy-coverage
Revert "ci: add type checking coverage information to codecov"
2 parents 06a29f6 + 5328d0d commit 2a2dd1b

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

.github/workflows/mypy.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,9 @@ jobs:
1919
cache: "pip"
2020
cache-dependency-path: |
2121
**/*requirements*.txt
22-
2322
- name: Install apt deps
2423
run: sudo apt-get update && sudo apt-get install -qq -y libxml2-dev libxslt1-dev
25-
2624
- name: Install dependencies
2725
run: pip install -Ur requirements-dev.txt
28-
2926
- name: Test with mypy
30-
run: mypy --cobertura-xml-report . .
31-
32-
- uses: codecov/codecov-action@v4
33-
with:
34-
name: types
35-
fail_ci_if_error: true
36-
token: ${{ secrets.CODECOV_TOKEN }}
37-
disable_search: true
38-
file: cobertura.xml
39-
flags: types
27+
run: pre-commit run mypy --all

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@ config.json
6565
.vagrant/
6666
.mypy_cache/
6767
.DS_Store
68-
cobertura.xml

codecov.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ coverage:
1010

1111
component_management:
1212
individual_components:
13-
- component_id: types
14-
name: types
15-
flag_regexes:
16-
- types
17-
statuses:
18-
- type: patch
19-
target: 90%
20-
2113
- component_id: tests
2214
name: tests
2315
flag_regexes:

0 commit comments

Comments
 (0)