Skip to content

Commit 0b493fb

Browse files
committed
add Python version 3.14 to the GitHub testing workflow
1 parent 2159db8 commit 0b493fb

1 file changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,35 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.10", "3.11", "3.12", "3.13"]
20+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2121

2222
steps:
23-
- uses: actions/checkout@v4
24-
25-
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v3
27-
with:
28-
python-version: ${{ matrix.python-version }}
29-
30-
- name: Cache pip packages
31-
uses: actions/cache@v3
32-
with:
33-
path: ~/.cache/pip
34-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/pyproject.toml') }}
35-
restore-keys: |
36-
${{ runner.os }}-pip-
37-
38-
- name: Install project and dependencies
39-
run: |
40-
python -m pip install --upgrade pip
41-
pip install -e .[dev]
42-
pip install flake8 flake8-pyproject pytest
43-
44-
- name: Lint with flake8
45-
run: |
46-
python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
47-
python -m flake8 . --exit-zero --max-complexity=12 --statistics
48-
49-
- name: Test with pytest
50-
run: |
51-
python -m pytest --verbose
23+
- uses: actions/checkout@v4
24+
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v3
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
30+
- name: Cache pip packages
31+
uses: actions/cache@v3
32+
with:
33+
path: ~/.cache/pip
34+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/pyproject.toml') }}
35+
restore-keys: |
36+
${{ runner.os }}-pip-
37+
38+
- name: Install project and dependencies
39+
run: |
40+
python -m pip install --upgrade pip
41+
pip install -e .[dev]
42+
pip install flake8 flake8-pyproject pytest
43+
44+
- name: Lint with flake8
45+
run: |
46+
python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
47+
python -m flake8 . --exit-zero --max-complexity=12 --statistics
48+
49+
- name: Test with pytest
50+
run: |
51+
python -m pytest --verbose

0 commit comments

Comments
 (0)