Run pytest with colors

Tip from https://twitter.com/cjolowicz/status/1461266663681187841
This commit is contained in:
Simon Willison 2021-11-19 00:09:16 -08:00 committed by GitHub
commit 33176ad47b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,9 @@ name: Test
on: [push]
env:
FORCE_COLOR: 1
jobs:
test:
runs-on: ${{ matrix.os }}
@ -31,7 +34,7 @@ jobs:
run: pip install numpy
- name: Run tests
run: |
pytest
pytest -v
- name: run mypy
run: mypy sqlite_utils tests
- name: run flake8