Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge push/pull_request CI workflows #555

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mkniewallner
Copy link
Contributor

@mkniewallner mkniewallner commented Jan 9, 2022

Before submitting your pull-request, make sure the following is done.

  • Fork the repository and create your branch from master so that it can be merged easily.
  • Update changelogs/next.md with your change (include reference to the issue & this PR). Not applicable
  • Make sure all of the significant new logic is covered by tests. Not applicable
  • Make sure all quality checks are green (Gazr specification).

Description

Reduce GitHub Actions jobs duplication by merging workflows for pull requests and pushes to the main branch.
With the change, Style, Tests and SonarCloud jobs are not duplicated anymore.

As the jobs to push sdist/wheels for prod and test PyPI are a bit different, for now they are separated in different jobs, but ideally we may want to have a separate workflow for publishing wheels to prod index, by for instance running it when we tag a new version (rather than always trying to push to PyPI and relying on the fact that the version is already uploaded, which can be risky).

You can see on the PR workflow that the steps for building/pushing to prod indexes are not run.

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.

None yet

1 participant