Skip to content

Commit

Permalink
Add python 3.11, tweak build config, add build badge, up versions of …
Browse files Browse the repository at this point in the history
…actions
  • Loading branch information
insolor committed May 23, 2023
1 parent 8da661f commit 90b259c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tox_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,20 @@ jobs:

strategy:
matrix:
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: windows-latest
python-version: "2.7"
- os: ubuntu-latest
python-version: "3.6"
fail-fast: false

steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v3"
with:
submodules: true
- uses: "actions/setup-python@v2"
- uses: "actions/setup-python@v3"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
Expand All @@ -39,7 +41,7 @@ jobs:
- name: "Install DAWG for ${{ matrix.python-version }}"
run: |
python setup.py install
pip install .
- name: "Run tests for ${{ matrix.python-version }}"
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DAWG
====

.. image:: https://travis-ci.org/pytries/DAWG.png?branch=master
:target: https://travis-ci.org/pytries/DAWG
.. image:: https://github.com/pymorphy2-fork/DAWG/actions/workflows/tox_tests.yml/badge.svg
:target: https://github.com/pymorphy2-fork/DAWG/actions/workflows/tox_tests.yml

This package provides DAWG(DAFSA_)-based dictionary-like
read-only objects for Python (2.x and 3.x).
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Information Analysis',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py35,py35-locale,py36,py37,py38,py39,py310
envlist = py27,py35,py35-locale,py36,py37,py38,py39,py310,py311

[testenv]
deps =
Expand Down

0 comments on commit 90b259c

Please sign in to comment.