From 1d420db1b18868e661db80cace65b80dc6fc2757 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sat, 20 Jun 2020 18:21:45 +0100 Subject: [PATCH] explicit install --- .github/workflows/pythonpackage.yml | 2 ++ Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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