diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml new file mode 100644 index 0000000..7308220 --- /dev/null +++ b/.github/workflows/tox.yml @@ -0,0 +1,28 @@ +name: tox +on: + pull_request: + branches: + - master + push: + branches: + - master +jobs: + test: + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python: ["3.8", "3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Install tox + run: | + python -m pip install --upgrade pip + python -m pip install tox tox-gh-actions + - name: Run tox + run: python -m tox diff --git a/README.rst b/README.rst index b4c97ae..0bf5dad 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,8 @@ SeqLog =============================== +.. image:: https://github.com/tintoy/seqlog/actions/workflows/tox.yml/badge.svg + :target: https://github.com/tintoy/seqlog .. image:: https://img.shields.io/pypi/v/seqlog.svg :target: https://pypi.python.org/pypi/seqlog diff --git a/docs/requirements.txt b/docs/requirements.txt index 3f775f1..c64e566 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ sphinx==5.3.0 sphinx_rtd_theme==1.1.1 -readthedocs-sphinx-search==0.1.1 +readthedocs-sphinx-search==0.3.2 diff --git a/meta.yaml b/meta.yaml index 2154b8e..501d1df 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,20 +1,19 @@ -package: - name: seqlog - version: 0.3.31 - -requirements: - host: - - python - - setuptools - - run: - - python - -source: - git_url: http://github.com/tintoy/seqlog.git - -about: - home: http://github.com/tintoy/seqlog - license: MIT - license_file: LICENSE - +package: + name: seqlog + version: 0.5.0 + +requirements: + host: + - python + - setuptools + + run: + - python + +source: + git_url: http://github.com/tintoy/seqlog.git + +about: + home: http://github.com/tintoy/seqlog + license: MIT + license_file: LICENSE diff --git a/requirements_dev.txt b/requirements_dev.txt index 3597c12..d11867c 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -6,7 +6,7 @@ flake8>=2.6.0 tox>=2.3.1 coverage>=4.1 Sphinx>=1.4.4 -cryptography==41.0.4 +cryptography==42.0.4 PyYAML>=3.11 pytest>=2.9.2 httmock>=1.2.5 diff --git a/setup.py b/setup.py index cca080a..6d1ae8c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ 'tox>=2.3.1', 'coverage>=4.1', 'Sphinx>=1.4.4', - 'cryptography==41.0.4', + 'cryptography==42.0.4', 'PyYAML>=3.11', 'pytest>=2.9.2', 'httmock>=1.2.5' @@ -55,6 +55,9 @@ 'Natural Language :: English', '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', ], test_suite='tests', tests_require=test_requirements diff --git a/tox.ini b/tox.ini index fa7c8eb..e6dafa4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36, py38, flake8 +envlist = py36, py38, py39, py310, py311, flake8 [testenv:flake8] basepython=python