forked from github/pelican
use python 3.9 for lint, docs and deploy actions
3.7 is old and will soon be EOLed this also fixes flake8 + importlib-metadata issues
This commit is contained in:
parent
9d509253c3
commit
6d11c6f2e5
2 changed files with 5 additions and 5 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.7"
|
||||
python-version: "3.9"
|
||||
- name: Set pip cache (Linux)
|
||||
uses: actions/cache@v3
|
||||
if: startsWith(runner.os, 'Linux')
|
||||
|
|
@ -110,7 +110,7 @@ jobs:
|
|||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.7"
|
||||
python-version: "3.9"
|
||||
- name: Set pip cache (Linux)
|
||||
uses: actions/cache@v3
|
||||
if: startsWith(runner.os, 'Linux')
|
||||
|
|
@ -136,7 +136,7 @@ jobs:
|
|||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.7"
|
||||
python-version: "3.9"
|
||||
- name: Check release
|
||||
id: check_release
|
||||
run: |
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -17,7 +17,7 @@ commands =
|
|||
pytest -s --cov=pelican pelican
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3.7
|
||||
basepython = python3.9
|
||||
deps =
|
||||
-rrequirements/docs.pip
|
||||
changedir = docs
|
||||
|
|
@ -36,7 +36,7 @@ import-order-style = cryptography
|
|||
max-line-length = 88
|
||||
|
||||
[testenv:flake8]
|
||||
basepython = python3.7
|
||||
basepython = python3.9
|
||||
deps =
|
||||
-rrequirements/style.pip
|
||||
commands =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue