Skip to content

Update CI workflows for current GitHub runners - #323

Merged
im85288 merged 1 commit into
masterfrom
fix-ci-workflows
Sep 28, 2026
Merged

im85288 merged 1 commit into
masterfrom
fix-ci-workflows

Conversation

@im85288

@im85288 im85288 commented Sep 28, 2026

Copy link
Copy Markdown
Owner

CI currently fails for every PR before any checks run (see #322):

  • Add-on testing (3.7): Ubuntu 24.04 runners no longer provide Python 3.7.
  • Addon checker (leia, matrix): actions/setup-python@v1 can no longer install Python 3.9.

Changes:

  • ci.yml: drop Python 3.7 and test PyPy 2.7 and Python 3.8–3.14, with pytest also running on 3.14. Move to actions/checkout@v4 and actions/setup-python@v5.
  • addon-check.yml: move to actions/checkout@v4 and actions/setup-python@v5 on Python 3.12. The checker now runs for Matrix only. Current kodi-addon-checker (0.0.36) fails every add-on on the leia branch that targets Python 2 ("Add-ons should target Python 3 and up"), so Leia can't pass. Python 2 compatibility is still covered by the PyPy 2.7 test job.

I ran the workflow steps in containers against master before opening this PR:

  • tox, pylint, the translations check and pytest pass on PyPy 2.7, 3.8, 3.11, 3.12, 3.13 and 3.14.
  • kodi-addon-checker --branch=matrix passes.

🤖 Generated with Claude Code

Ubuntu 24.04 runners no longer provide Python 3.7, and setup-python v1
can no longer install Python 3.9, so those jobs failed before running
any checks. Drop 3.7, test up to Python 3.14 (run pytest on 3.14 too),
and move to checkout v4 and setup-python v5.

kodi-addon-checker now rejects any add-on targeting Python 2 on the leia
branch, so only Matrix is checked; the PyPy 2.7 job still covers
Python 2 compatibility.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@im85288
im85288 merged commit 0037238 into master Sep 28, 2026
18 checks passed
@im85288
im85288 deleted the fix-ci-workflows branch September 28, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant