diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..6466fc6 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,40 @@ +name: check +on: + push: + pull_request: + +concurrency: + group: check-${{ github.ref }} + cancel-in-progress: true + +jobs: + test: + name: test with ${{ matrix.py }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + py: + - "3.12" + - "3.11" + - "3.10" + - "3.9" + - "3.8" + os: + - ubuntu-latest + - macos-latest + - windows-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Setup python for test ${{ matrix.py }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.py }} + - name: Install tox + run: python -m pip install tox-gh>=1.2 + - name: Setup test suite + run: tox -vv --notest + - name: Run test suite + run: tox --skip-pkg-install diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9cb5d48..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -sudo: false -language: python -python: - - "2.6" - - "2.7" - - "3.2" - - "3.3" - - "3.4" - - "3.5" - - "3.6" -install: - - pip install . - - pip install pytest -script: py.test diff --git a/README.rst b/README.rst index 049f899..2e25146 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,8 @@ python-jambel ============= -.. image:: https://travis-ci.org/jambit/python-jambel.svg?branch=master - :target: https://travis-ci.org/jambit/python-jambel +.. image:: https://github.com/jambit/python-jambel/actions/workflows/check.yml/badge.svg + :target: https://github.com/jambit/python-jambel/actions/workflows/check.yml Interface to jambit's project traffic lights. diff --git a/setup.py b/setup.py index 3c8d870..7a50d29 100644 --- a/setup.py +++ b/setup.py @@ -31,18 +31,16 @@ def get_version(): ] }, classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: Other/Proprietary License', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - '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', + 'Programming Language :: Python :: 3.12', ] ) diff --git a/tox.ini b/tox.ini index f253c08..2f0cca7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,py33,py34,py35,py36 +envlist = py38,py39,py310,py311,py312 [testenv] deps = pytest