diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000..6b1648e --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,20 @@ +name: GitHub Python Build +run-name: ${{ github.actor }} build and unittest +on: [push] +jobs: + build: + strategy: + matrix: + python: ["3.8", "3.9", "3.10", "3.11"] + runs-on: ubuntu-latest + steps: + - name: Set up Python ${{ matrix.python }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python }} + - name: Check out repository code + uses: actions/checkout@v3 + - name: Install prereq + run: pip install tox coveralls + - name: Run python tests + run: tox -e ${{ env.python }} diff --git a/requirements.txt b/requirements.txt index 0dd1df7..0206df3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -bottle==0.12.13 -certifi==2017.7.27.1 -chardet==3.0.4 -idna==2.6 -oauthlib==3.0.0 -requests==2.18.4 -urllib3==1.22 +bottle==0.12.25 +certifi==2023.7.22 +charset-normalizer==3.2.0 +idna==3.4 +oauthlib==3.2.2 +requests==2.31.0 +urllib3==2.0.4 diff --git a/setup.py b/setup.py index 343d1a7..e7641b8 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,9 @@ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Topic :: Software Development :: Libraries :: Application Frameworks', - 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ] ) diff --git a/tox.ini b/tox.ini index e238f19..3bbc8f6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,18 +1,12 @@ [tox] -envlist = py36,py37 +envlist = py38,py39,py310,py311 [testenv] deps = - nose - nose-timer -rrequirements.txt coverage commands = coverage erase - nosetests --with-timer - coverage run --append -m nose + coverage run --append -m unittest coverage report coverage html -d htmlcov-{envname} - -[tox:jenkins] -envlist = py36