Skip to content

Commit

Permalink
Merge pull request #710 from TotallyNotRobots/revert-700-mypy-coverage
Browse files Browse the repository at this point in the history
Revert "ci: add type checking coverage information to codecov"
  • Loading branch information
linuxdaemon authored May 31, 2024
2 parents 06a29f6 + 5328d0d commit 2a2dd1b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,9 @@ jobs:
cache: "pip"
cache-dependency-path: |
**/*requirements*.txt
- name: Install apt deps
run: sudo apt-get update && sudo apt-get install -qq -y libxml2-dev libxslt1-dev

- name: Install dependencies
run: pip install -Ur requirements-dev.txt

- name: Test with mypy
run: mypy --cobertura-xml-report . .

- uses: codecov/codecov-action@v4
with:
name: types
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
file: cobertura.xml
flags: types
run: pre-commit run mypy --all
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ config.json
.vagrant/
.mypy_cache/
.DS_Store
cobertura.xml
8 changes: 0 additions & 8 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ coverage:

component_management:
individual_components:
- component_id: types
name: types
flag_regexes:
- types
statuses:
- type: patch
target: 90%

- component_id: tests
name: tests
flag_regexes:
Expand Down

0 comments on commit 2a2dd1b

Please sign in to comment.