Skip to content

added github tests and fixed README.md #13

added github tests and fixed README.md

added github tests and fixed README.md #13

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