Skip to content

Commit

Permalink
Remove unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jirispilka committed Jul 25, 2024
1 parent b8ae10f commit f5dc5f0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 41 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/_unit_tests.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/run_code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,3 @@ jobs:
run_type_checking:
name: Run type checking
uses: ./.github/workflows/_type_checking.yaml

run_unit_tests:
name: Run unit tests
uses: ./.github/workflows/_unit_tests.yaml
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
.PHONY: clean install-dev build publish-to-pypi lint type-check unit-tests unit-tests-cov integration-tests check-code format check-version-conflict check-changelog-entry check-code build-api-reference run-doc
.PHONY: clean install-dev build publish-to-pypi lint type-check check-code format check-version-conflict check-changelog-entry check-code build-api-reference run-doc

DIRS_WITH_CODE = src tests
DIRS_WITH_CODE = src

# This is default for local testing, but GitHub workflows override it to a higher value in CI
INTEGRATION_TESTS_CONCURRENCY = 1

clean:
rm -rf .mypy_cache .pytest_cache .ruff_cache build dist htmlcov .coverage
Expand Down Expand Up @@ -33,4 +31,4 @@ format:
poetry run ruff check --fix $(DIRS_WITH_CODE)
poetry run ruff format $(DIRS_WITH_CODE)

check-code: lint type-check unit-tests
check-code: lint type-check
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ max-branches = 18
[tool.mypy]
python_version = "3.9"
plugins = []
files = ["scripts", "src", "tests"]
files = ["src"]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
Expand Down
Empty file removed tests/__init__.py
Empty file.

0 comments on commit f5dc5f0

Please sign in to comment.