Skip to content

Commit

Permalink
Removed Python 3.6 testing since the testing network no longer suppor…
Browse files Browse the repository at this point in the history
…ts it on Ubuntu.

Added Python 3.11 testing support.
  • Loading branch information
kmvanbrunt committed Jan 28, 2023
1 parent 694718a commit c6d1624
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def docs(session):
)


@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10'])
@nox.session(python=['3.7', '3.8', '3.9', '3.10', '3.11'])
@nox.parametrize('plugin', [None, 'ext_test', 'template', 'coverage'])
def tests(session, plugin):
if plugin is None:
Expand Down
5 changes: 3 additions & 2 deletions plugins/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,9 @@ unit tests found in the `tests` directory.

### Use nox to run unit tests in multiple versions of python

The included `noxfile.py` is setup to run the unit tests in python 3.6, 3.7, 3.8,
and 3.9. You can run your unit tests in all of these versions of python by:
The included `noxfile.py` is setup to run the unit tests in python 3.7, 3.8,
3.9, 3.10, and 3.11 You can run your unit tests in all of these versions of
python by:
```
$ nox
```
Expand Down
2 changes: 1 addition & 1 deletion plugins/template/build-pyenvs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# virtualenvs will be added to '.python-version'. Feel free to modify
# this list, but note that this script intentionally won't install
# dev, rc, or beta python releases
declare -a pythons=("3.7" "3.6" "3.8" "3.9")
declare -a pythons=("3.7" "3.8" "3.9" "3.10" "3.11")

# function to find the latest patch of a minor version of python
function find_latest_version {
Expand Down
2 changes: 1 addition & 1 deletion plugins/template/noxfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import nox


@nox.session(python=['3.6', '3.7', '3.8', '3.9'])
@nox.session(python=['3.7', '3.8', '3.9', '3.10', '3.11'])
def tests(session):
session.install('invoke', './[test]')
session.run('invoke', 'pytest', '--junit', '--no-pty')
1 change: 1 addition & 0 deletions plugins/template/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
# dependencies for development and testing
# $ pip install -e .[dev]
Expand Down

0 comments on commit c6d1624

Please sign in to comment.