mirror of https://github.com/Textualize/rich.git
avoid commands
This commit is contained in:
parent
229e78583d
commit
e47420eb12
|
@ -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
|
||||
|
|
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in New Issue