Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "ci: add type checking coverage information to codecov" #710

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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