forked from github/pelican
Add python 3.12 to test matrix
This commit is contained in:
parent
3be0703b14
commit
de0fae8182
3 changed files with 12 additions and 10 deletions
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -56,7 +58,6 @@ jobs:
|
|||
- name: Run tests
|
||||
run: tox -e py${{ matrix.config.python }}
|
||||
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue