Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python test versions #3197

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
strategy:
matrix:
config:
- os: ubuntu
python: "3.7"
- os: ubuntu
python: "3.8"
- os: ubuntu
Expand All @@ -25,10 +23,12 @@ jobs:
python: "3.10"
- os: ubuntu
python: "3.11"
- os: ubuntu
python: "3.12"
- os: macos
python: "3.7"
python: "3.11"
- os: windows
python: "3.7"
python: "3.11"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"
cache: 'pip'
cache-dependency-path: '**/requirements/*'
- name: Install tox
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"
cache: 'pip'
cache-dependency-path: '**/requirements/*'
- name: Install tox
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Check release
id: check_release
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist = py{3.7,3.8,3.9,3.10,3.11},docs,flake8
envlist = py{3.8,3.9,3.10,3.11,3.12},docs,flake8

[testenv]
basepython =
py3.7: python3.7
py3.8: python3.8
py3.9: python3.9
py3.10: python3.10
py3.11: python3.11
py3.12: python3.12
passenv = *
usedevelop=True
deps =
Expand All @@ -18,7 +18,7 @@ commands =
pytest -s --cov=pelican pelican

[testenv:docs]
basepython = python3.9
basepython = python3.11
deps =
-rrequirements/docs.pip
changedir = docs
Expand All @@ -37,7 +37,7 @@ import-order-style = cryptography
max-line-length = 88

[testenv:flake8]
basepython = python3.9
basepython = python3.11
skip_install = true
deps =
-rrequirements/style.pip
Expand Down
Loading