Skip to content

fix TPLinkXDRClient supports #103

fix TPLinkXDRClient supports

fix TPLinkXDRClient supports #103

name: Python Package
on:
pull_request:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- 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