Skip to content

Commit

Permalink
Use pytest in the tox.ini tests and update other files. (serge-sans-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr authored Dec 19, 2023
1 parent a3b072d commit b471122
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- python-version: 3.6
os: ubuntu-20.04
Expand All @@ -27,7 +27,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
test "${{ matrix.python-version }}" != "3.12-dev" || pip install setuptools
test "${{ matrix.python-version }}" != "3.12" || pip install setuptools
- name: Setup
run: |
python setup.py install
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
],
"Programming Language :: Python :: 3"],
python_requires=">=3.6",
**kw
)
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tox]
envlist = py27,py36
envlist = py27,py36,py37,py38,py39,py310,py311,py312
[testenv]
deps = -rrequirements.txt
commands=python setup.py test
deps =
pytest
commands=pytest beniget/ tests/ --doctest-modules

0 comments on commit b471122

Please sign in to comment.