ci: Add a flake8 linting job
parent
fa5b71c022
commit
dc0a94bba3
|
@ -30,6 +30,9 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: Lint with flake8
|
||||||
|
run: flake8 scripts/ tests/
|
||||||
|
|
||||||
- name: Run unittest tests with coverage
|
- name: Run unittest tests with coverage
|
||||||
run: |
|
run: |
|
||||||
coverage run --source=scripts -m unittest discover tests
|
coverage run --source=scripts -m unittest discover tests
|
||||||
|
|
|
@ -15,4 +15,5 @@ pinecone-client==2.2.1
|
||||||
redis
|
redis
|
||||||
orjson
|
orjson
|
||||||
Pillow
|
Pillow
|
||||||
coverage
|
coverage
|
||||||
|
flake8
|
Loading…
Reference in New Issue