diff --git a/.coverage b/.coverage new file mode 100644 index 0000000..d76c14b Binary files /dev/null and b/.coverage differ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 387e02e..712edab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,5 +17,5 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: pip install -e ".[dev]" - - run: pytest + - run: pytest --cov=fixit --cov-report=term - run: mypy fixit diff --git a/pyproject.toml b/pyproject.toml index 3b112b3..ef98f77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ requires-python = ">=3.8" license = { text = "MIT" } [project.optional-dependencies] -dev = ["pytest", "ruff>=0.12.0", "mypy>=1.0,<2"] +dev = ["pytest", "ruff>=0.12.0", "mypy>=1.0,<2", "pytest-cov"] [project.scripts] fixit = "fixit.cli:main"