Skip to content

Conversation

@hleb-rubanau
Copy link

This pull request reproduces previous Travis workflow on GithubActions with some tweaks & enhancements.

Key features:

  • Workflow is named "CI & Release"
  • Separate jobs: linter, test, smoketest, release
  • Linter failure is tolerable
  • Smoketest tries dockerhub login for better pulling but can proceed without it
  • Release is only activated for selected branches (currently: master)
  • If release happens outside of master e.g. during debug on ci/**, artifacts are pushed to testpypi instead of main repo (condition is configurable)

Examples:

After review and before merging:

* tox.ini: tox-gh-actions  integration
* tox.ini: lint removed from envlist, default scope is test-only
* workflows: test job added (matrixed)
* workflows: lint job is separated, no-matrix, non-blocking on failure
* workflows: reusable env lifting steps factored out into ./github/actions
@hleb-rubanau hleb-rubanau self-assigned this Oct 11, 2025
Copy link
Contributor

@dividedmind dividedmind left a comment

Choose a reason for hiding this comment

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

Looks good, however I realized we seem to have lost access to the applandrobot pypi user — this might be a good excuse to set up OIDC connect publishing, see https://docs.pypi.org/trusted-publishers/

Could you take a look a that?

@github-actions
Copy link

🎉 This PR is included in version 2.1.9-dev.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants