Skip to content

Commit

Permalink
Merge pull request #3199 from lioman/add-pythen-3.12-to-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer committed Oct 3, 2023
2 parents 3be0703 + de0fae8 commit 82e2571
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
python: "3.10"
- os: ubuntu
python: "3.11"
- os: ubuntu
python: "3.12"
- os: macos
python: "3.7"
- os: windows
Expand All @@ -36,8 +38,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config.python }}
cache: 'pip'
cache-dependency-path: '**/requirements/*'
cache: "pip"
cache-dependency-path: "**/requirements/*"
- name: Install locale (Linux)
if: startsWith(runner.os, 'Linux')
run: sudo locale-gen fr_FR.UTF-8 tr_TR.UTF-8
Expand All @@ -56,7 +58,6 @@ jobs:
- name: Run tests
run: tox -e py${{ matrix.config.python }}


lint:
name: Lint
runs-on: ubuntu-latest
Expand All @@ -67,14 +68,13 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: 'pip'
cache-dependency-path: '**/requirements/*'
cache: "pip"
cache-dependency-path: "**/requirements/*"
- name: Install tox
run: python -m pip install -U pip tox
- name: Check
run: tox -e flake8


docs:
name: Build docs
runs-on: ubuntu-latest
Expand All @@ -85,14 +85,13 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: 'pip'
cache-dependency-path: '**/requirements/*'
cache: "pip"
cache-dependency-path: "**/requirements/*"
- name: Install tox
run: python -m pip install -U pip tox
- name: Check
run: tox -e docs


deploy:
name: Deploy
environment: Deployment
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
'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',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{3.7,3.8,3.9,3.10,3.11},docs,flake8
envlist = py{3.7,3.8,3.9,3.10,3.11.3.12},docs,flake8

[testenv]
basepython =
Expand All @@ -8,6 +8,7 @@ basepython =
py3.9: python3.9
py3.10: python3.10
py3.11: python3.11
py3.12: python3.12
passenv = *
usedevelop=True
deps =
Expand Down

0 comments on commit 82e2571

Please sign in to comment.