diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 2fdef80a..d425478b 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -24,8 +24,10 @@ jobs: poetry install - name: Typecheck with mypy run: | + pip install mypy make typecheck - name: Test with pytest run: | + pip install pytest pip install . python -m pytest tests/ -v diff --git a/Makefile b/Makefile index ee72887c..9df9641c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ test: - python -m pytest --cov-report term-missing --cov=rich tests/ -vv + pytest --cov-report term-missing --cov=rich tests/ -vv typecheck: - python -m mypy -p rich --ignore-missing-imports --warn-unreachable + mypy -p rich --ignore-missing-imports --warn-unreachable typecheck-report: mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report .PHONY: docs