Skip to content

Update Github Actions#30

Merged
daneah merged 2 commits intoeasy-as-python:mainfrom
j23n:feature-github-actions
Feb 19, 2026
Merged

Update Github Actions#30
daneah merged 2 commits intoeasy-as-python:mainfrom
j23n:feature-github-actions

Conversation

@j23n
Copy link
Contributor

@j23n j23n commented Feb 19, 2026

This PR updates the Github Actions (#26):

  • remove EoL Python and Django versions
  • enable PyPI trusted publisher
  • remove travis CI config
  • update classifiers and tox config in pyproject

I created a clean PR with your review comments instead of [#29]. My testing of Github Actions was a bit messy, sorry!

See Github Action run for a PR and for a release (publishing is triggered but fails as expected because trusted publisher is not configured on PyPI side).

* remove EoL python and django versions
* enable PyPI trusted publisher
* remove travis CI config
* update classifiers
Comment on lines +13 to +14
check:
name: Format, lint and type checks
Copy link
Member

Choose a reason for hiding this comment

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

Can you say a little about the rationale of condensing these into a single job? I generally prefer to see ✅ or 🔴 for a specific task failure rather than having to click into the job to find out which, if that makes sense.

If to avoid repetitiveness, perhaps we could use YAML anchors or something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point about visibility - I was mostly worried about duplication.

I switched the checks to use a matrix strategy that pulls in the tox configs from pyproject.toml: tool.tox.env.{typecheck,format,lint}, similar to how it was done for the tests. That way, running the checks locally will work exactly the same way as in the CI, and they show up as separate jobs in the Github UI.

Copy link
Member

Choose a reason for hiding this comment

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

Nice, I think I like that!

re-uses the tox.tool.env.{lint,format,typecheck} config
from pyproject.toml
Copy link
Member

@daneah daneah left a comment

Choose a reason for hiding this comment

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

This looks great; I'll merge this and after doing a few other activities will do a new version release to test out the trusted publishing.

@daneah daneah merged commit 2e6cf21 into easy-as-python:main Feb 19, 2026
@daneah daneah mentioned this pull request Feb 19, 2026
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.

2 participants