Skip to content

Update mqttplugin.py to paho-mqtt version 2.0.0 #25

Update mqttplugin.py to paho-mqtt version 2.0.0

Update mqttplugin.py to paho-mqtt version 2.0.0 #25

name: Python package
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install tox
- name: Run tox
run: python -m tox -e py
- name: Lint
if: "matrix.python-version == '3.11'"
run: python -m tox -e lint