add requirements.txt; update ci

This commit is contained in:
Mike Kinney
2021-12-01 10:17:39 -08:00
parent c824ddae1a
commit e7e094a14c
3 changed files with 62 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
name: Run Python Tests
name: Linting and Tests
on:
push:
branches:
@@ -19,7 +19,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install markdown pdoc3 webencodings pyparsing twine autopep8 pylint pytest
pip install -r requirements.txt
pip install .
- name: Run pylint
run: pylint --exit-zero meshtastic
- name: Run tests with pytest