Files
python/.github/workflows/ci.yml
Mike Kinney ef811b5f7b add coverage
2021-12-01 10:34:48 -08:00

28 lines
614 B
YAML

name: Linting and Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
- name: Run pylint
run: pylint --exit-zero meshtastic
- name: Run tests with pytest
run: pytest --cov=meshtastic