avoid commands

This commit is contained in:
Will McGugan 2020-06-20 18:13:30 +01:00
parent 229e78583d
commit e47420eb12
2 changed files with 4 additions and 5 deletions

View File

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

View File

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