explicit install

This commit is contained in:
Will McGugan 2020-06-20 18:21:45 +01:00
parent ee7b5a3da5
commit 1d420db1b1
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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