diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 167a8a46..6ce0a8f7 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: [ubuntu-latest] + runs-on: [ubuntu-latest, windows-latest, macos-latest] strategy: max-parallel: 4 matrix: @@ -23,9 +23,8 @@ jobs: poetry install - name: Typecheck with mypy run: | - pip install mypy==0.781 make typecheck - name: Test with pytest run: | pip install . - pytest tests/ -v + python -m pytest tests/ -v diff --git a/Makefile b/Makefile index 9df9641c..ee72887c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ test: - pytest --cov-report term-missing --cov=rich tests/ -vv + python -m pytest --cov-report term-missing --cov=rich tests/ -vv typecheck: - mypy -p rich --ignore-missing-imports --warn-unreachable + python -m mypy -p rich --ignore-missing-imports --warn-unreachable typecheck-report: mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report .PHONY: docs