Skip to content

Commit

Permalink
remove type checks and tests for macos and windows (#26)
Browse files Browse the repository at this point in the history
* remove type checks and tests for macos and windows

* remove mypy from pre-commit

* remove coverage check
  • Loading branch information
piskunow authored Nov 22, 2023
1 parent b543b80 commit 6a2db07
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ jobs:
include:
- { python: "3.10", os: "ubuntu-latest", session: "pre-commit" }
- { python: "3.10", os: "ubuntu-latest", session: "safety" }
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
- { python: "3.10", os: "windows-latest", session: "tests" }
- { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
- { python: "3.10", os: "ubuntu-latest", session: "xdoctest" }
- { python: "3.10", os: "ubuntu-latest", session: "docs-build" }
Expand Down
8 changes: 0 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ repos:
language: system
types: [text]
stages: [commit, push, manual]
- id: mypy
name: mypy
entry: mypy
args: ["--ignore-missing-imports", "src", "tests"]
language: python
types: [python]
pass_filenames: false
target: ["src"]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.0
Expand Down
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ coverage:
status:
project:
default:
target: "100"
target: "0"
patch:
default:
target: "100"
target: "0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ source = ["kpm_tools", "tests"]

[tool.coverage.report]
show_missing = true
fail_under = 100
fail_under = 0

[tool.isort]
profile = "black"
Expand Down

0 comments on commit 6a2db07

Please sign in to comment.