Skip to content

Commit

Permalink
Merge pull request #2605 from OSInside/py3.13-testing
Browse files Browse the repository at this point in the history
CI: Add testing against Python 3.13
  • Loading branch information
schaefi authored Oct 23, 2024
2 parents c98ec19 + 0e87fe5 commit 99ba0f2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:
unit_tests:
name: Linter checks for KIWI python and Shell code
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-units-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
13 changes: 12 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ skip_missing_interpreters = True
skipsdist = True
envlist =
check,
unit_py3_13,
unit_py3_12,
unit_py3_11,
unit_py3_10,
Expand All @@ -26,7 +27,7 @@ envlist =

[testenv]
description =
{unit_py3_9,unit_py3_10,unit_py3_11,unit_py3_12}: Unit Test run with basepython set to {basepython}
{unit_py3_9,unit_py3_10,unit_py3_11,unit_py3_12,unit_py3_13}: Unit Test run with basepython set to {basepython}
devel: Test KIWI
allowlist_externals =
bash
Expand All @@ -41,6 +42,7 @@ allowlist_externals =
python
pytest
basepython =
unit_py3_13: python3.13
unit_py3_12: python3.12
unit_py3_11: python3.11
unit_py3_10: python3.10
Expand Down Expand Up @@ -96,6 +98,15 @@ commands =
{[testenv:mypy]commands}
{[testenv:unit]commands}

# Test run with basepython set to 3.13
[testenv:unit_py3_13]
setenv =
PYTHONPATH={toxinidir}/test
changedir=test/unit
commands =
{[testenv:mypy]commands}
{[testenv:unit]commands}


[testenv:mypy]
description = Static Type Checking Base
Expand Down

0 comments on commit 99ba0f2

Please sign in to comment.