Add colour to the output of mypy_test (#7872)

And gracefully exit on KeyboardInterrupt.
This commit is contained in:
Alex Waygood
2022-05-19 00:36:59 +01:00
committed by GitHub
parent 6653be1511
commit 753eb053ac
4 changed files with 79 additions and 33 deletions

View File

@@ -60,7 +60,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install $(grep tomli== requirements-tests.txt) $(grep mypy== requirements-tests.txt)
- run: pip install $(grep tomli== requirements-tests.txt) $(grep mypy== requirements-tests.txt) termcolor
- run: ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
pyright: