Skip to content

Added flake

Added flake #67

Workflow file for this run

name: Python Package
on:
push:
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Install pip
run: |
python -m pip install --upgrade pip
- name: Install package
run: |
pip install tplinkrouterc6u
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Test with unittest
run: |
python -m unittest discover -s ./test
- name: Run flake8
uses: py-actions/flake8@v2
run: |
flake8