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 poetry install
- name: Typecheck with mypy - name: Typecheck with mypy
run: | run: |
pip install mypy
make typecheck make typecheck
- name: Test with pytest - name: Test with pytest
run: | run: |
pip install pytest
pip install . pip install .
python -m pytest tests/ -v python -m pytest tests/ -v

View File

@ -1,7 +1,7 @@
test: test:
python -m pytest --cov-report term-missing --cov=rich tests/ -vv pytest --cov-report term-missing --cov=rich tests/ -vv
typecheck: typecheck:
python -m mypy -p rich --ignore-missing-imports --warn-unreachable mypy -p rich --ignore-missing-imports --warn-unreachable
typecheck-report: typecheck-report:
mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report
.PHONY: docs .PHONY: docs