Skip to content

Commit e5b6e43

Browse files
hf-kkleinKonstantin
andauthored
chore: run simplified CI on Python 3.14 (#310)
Co-authored-by: Konstantin <konstantin.klein+github@hochfrequenz.de>
1 parent 4345972 commit e5b6e43

File tree

7 files changed

+17
-28
lines changed

7 files changed

+17
-28
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ on:
66
pull_request: {}
77
jobs:
88
coverage:
9-
runs-on: ${{ matrix.os }}
10-
strategy:
11-
matrix:
12-
python-version: ["3.13"]
13-
os: [ubuntu-latest]
9+
runs-on: ubuntu-latest
1410
steps:
1511
- uses: actions/checkout@v6
16-
- name: Set up Python ${{ matrix.python-version }}
12+
- name: Set up Python
1713
uses: actions/setup-python@v6
1814
with:
19-
python-version: ${{ matrix.python-version }}
15+
python-version: 3.14
2016
- name: Install dependencies
2117
run: |
2218
python -m pip install --upgrade pip

.github/workflows/dev_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
python-version: ["3.11", "3.12", "3.13"]
14+
python-version: ["3.11", "3.12", "3.13", "3.14"]
1515
os: [ubuntu-latest]
1616
steps:
1717
- uses: actions/checkout@v6

.github/workflows/formatting.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ on:
55
branches: [main]
66
pull_request: {}
77
jobs:
8-
black:
9-
runs-on: ${{ matrix.os }}
8+
format:
9+
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ["3.13"]
13-
os: [ubuntu-latest]
1412
tool: ["black", "isort"]
1513
steps:
1614
- uses: actions/checkout@v6
17-
- name: Set up Python ${{ matrix.python-version }}
15+
- name: Set up Python
1816
uses: actions/setup-python@v6
1917
with:
20-
python-version: ${{ matrix.python-version }}
18+
python-version: 3.14
2119
- name: Install dependencies
2220
run: |
2321
python -m pip install --upgrade pip

.github/workflows/packaging_test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ on:
66
pull_request: {}
77
jobs:
88
check_packaging:
9-
runs-on: ${{ matrix.os }}
10-
strategy:
11-
matrix:
12-
python-version: ["3.13"]
13-
os: [ubuntu-latest]
9+
runs-on: ubuntu-latest
1410
steps:
1511
- uses: actions/checkout@v6
16-
- name: Set up Python ${{ matrix.python-version }}
12+
- name: Set up Python
1713
uses: actions/setup-python@v6
1814
with:
19-
python-version: ${{ matrix.python-version }}
15+
python-version: 3.14
2016
- name: Install dependencies
2117
run: |
2218
python -m pip install --upgrade pip

.github/workflows/pythonlint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@ on:
77
jobs:
88
pylint:
99
name: Python Code Quality and Lint
10-
runs-on: ${{ matrix.os }}
10+
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.13"]
14-
os: [ubuntu-latest]
1513
linter-env: ["linting", "type_check", "spell_check"]
1614
steps:
1715
- uses: actions/checkout@v6
18-
- name: Set up Python ${{ matrix.python-version }}
16+
- name: Set up Python
1917
uses: actions/setup-python@v6
2018
with:
21-
python-version: ${{ matrix.python-version }}
19+
python-version: 3.14
2220
- name: Install Dependencies
2321
run: |
2422
python -m pip install --upgrade pip

.github/workflows/unittests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
python-version: ["3.11", "3.12", "3.13"]
12+
python-version: ["3.11", "3.12", "3.13", "3.14"]
1313
os: [ubuntu-latest]
1414
steps:
1515
- uses: actions/checkout@v6

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers = [
1616
"Programming Language :: Python :: 3.11",
1717
"Programming Language :: Python :: 3.12",
1818
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
1920
]
2021
dependencies = [] # add all the dependencies here
2122
dynamic = ["readme", "version"]
@@ -55,7 +56,7 @@ Homepage = "https://github.com/Hochfrequenz/python_template_repository"
5556

5657
[tool.black]
5758
line-length = 120
58-
target_version = ["py311", "py312", "py313"]
59+
target_version = ["py311", "py312", "py313", "py314"]
5960

6061
[tool.isort]
6162
line_length = 120

0 commit comments

Comments
 (0)