Skip to content

ci: add python 3.15 and run lint, typecheck, and tests from one workflow - #306

Merged
WilliamBergamin merged 3 commits into
mainfrom
ci-python-3-15
Oct 16, 2026
Merged

WilliamBergamin merged 3 commits into
mainfrom
ci-python-3-15

Conversation

@WilliamBergamin

@WilliamBergamin WilliamBergamin commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This pull request moves CI to Python 3.15 and replaces test.yml with a single .github/workflows/ci.yml workflow named CI, matching the other Bolt for Python samples.

  • lint job: ruff check . and ruff format --diff --check ., per showcase.
  • typecheck job: mypy ., per showcase.
  • test job: pytest -v, per showcase that has tests. methods has no tests/, so it is left out of this matrix instead of being skipped by a shell guard.
  • Each job installs the showcase's requirements.txt on Python 3.15 and keeps the pinned action SHAs, persist-credentials: false, fail-fast: false, and permissions: contents: read.

Testing

  • Confirm the CI / lint, CI / typecheck, and CI / test checks appear and pass for each showcase in this PR.
  • Ran ruff check ., ruff format --diff --check ., mypy ., and pytest -v for every showcase on a local Python 3.15.0 venv: passed.

🤖 Generated with Claude Code

Python 3.15.0 is out.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@WilliamBergamin
WilliamBergamin requested a review from zimeg October 16, 2026 18:02
@WilliamBergamin WilliamBergamin self-assigned this Oct 16, 2026
@WilliamBergamin WilliamBergamin added update PR only - an update or maintenance is being made to an existing app python Pull requests that update python code labels Oct 16, 2026
Required status checks match on the job name, so pinning the python
version in it breaks the ruleset on every runtime bump.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>

@zimeg zimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 @WilliamBergamin Whenever best is to merge this please do!

pull_request:
jobs:
test:
name: "pytest@python3.14"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😉 praise: Nice catch! Thanks for updating this too.

Replace test.yml with ci.yml (CI): lint (ruff check and format), typecheck (mypy), and test (pytest) jobs, each per showcase. methods has no tests, so the test matrix skips it instead of guarding in shell.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@WilliamBergamin WilliamBergamin changed the title ci: bump python to 3.15 ci: add python 3.15 and run lint, typecheck, and tests from one workflow Oct 16, 2026
@WilliamBergamin
WilliamBergamin marked this pull request as ready for review October 16, 2026 20:06
@WilliamBergamin
WilliamBergamin requested a review from a team as a code owner October 16, 2026 20:06
@WilliamBergamin
WilliamBergamin merged commit 1c84347 into main Oct 16, 2026
16 checks passed
@WilliamBergamin
WilliamBergamin deleted the ci-python-3-15 branch October 16, 2026 20:06
WilliamBergamin added a commit that referenced this pull request Oct 16, 2026
Resolves the conflict with #306, which replaced test.yml with ci.yml.
Adds standardized-auth to the lint, typecheck, and test matrices.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update python code update PR only - an update or maintenance is being made to an existing app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants