mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-28 12:54:15 +02:00
Run pytest with colors
Tip from https://twitter.com/cjolowicz/status/1461266663681187841
This commit is contained in:
parent
8f386a0d30
commit
33176ad47b
1 changed files with 4 additions and 1 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
|
@ -2,6 +2,9 @@ name: Test
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
@ -31,7 +34,7 @@ jobs:
|
||||||
run: pip install numpy
|
run: pip install numpy
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest -v
|
||||||
- name: run mypy
|
- name: run mypy
|
||||||
run: mypy sqlite_utils tests
|
run: mypy sqlite_utils tests
|
||||||
- name: run flake8
|
- name: run flake8
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue