mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add support to verify windows, too
This commit is contained in:
parent
f342dc3097
commit
19c797af5e
1 changed files with 8 additions and 20 deletions
28
.github/workflows/main.yml
vendored
28
.github/workflows/main.yml
vendored
|
|
@ -9,37 +9,25 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test - ${{ matrix.config.python }} - ${{ matrix.config.os }}
|
name: Test - ${{ matrix.python }} - ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.config.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
os: [ubuntu, macos, windows]
|
||||||
|
python: ["3.10", "3.11", "3.12"]
|
||||||
|
include:
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
python: "3.8"
|
python: "3.8"
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
python: "3.9"
|
python: "3.9"
|
||||||
- os: ubuntu
|
|
||||||
python: "3.10"
|
|
||||||
- os: ubuntu
|
|
||||||
python: "3.11"
|
|
||||||
- os: ubuntu
|
|
||||||
python: "3.12"
|
|
||||||
- os: macos
|
|
||||||
python: "3.10"
|
|
||||||
- os: macos
|
|
||||||
python: "3.11"
|
|
||||||
- os: macos
|
|
||||||
python: "3.12"
|
|
||||||
- os: windows
|
|
||||||
python: "3.10"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python ${{ matrix.config.python }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.config.python }}
|
python-version: ${{ matrix.python }}
|
||||||
cache: "pip"
|
cache: "pip"
|
||||||
cache-dependency-path: "**/requirements/*"
|
cache-dependency-path: "**/requirements/*"
|
||||||
- name: Install locale (Linux)
|
- name: Install locale (Linux)
|
||||||
|
|
@ -58,7 +46,7 @@ jobs:
|
||||||
echo "===== PANDOC ====="
|
echo "===== PANDOC ====="
|
||||||
pandoc --version | head -2
|
pandoc --version | head -2
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: tox -e py${{ matrix.config.python }}
|
run: tox -e py${{ matrix.python }}
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue