GuyHoozdis / hypermodern-python

A template based on "The Hypermodern Python Project"
MIT License
0 stars 0 forks source link

Improve Workflow Orchestration #16

Open GuyHoozdis opened 1 month ago

GuyHoozdis commented 1 month ago

Some workflows, like the tests, will trigger on a merge and then again on the release tag. It seems wasteful and unnecessary if the workflow already passed on the merge prior to tag/release.

Events that trigger workflows

GuyHoozdis commented 4 weeks ago
  1. I think the upload to codecov.io should only be from permanent branches - main is the only one for this repo.
  2. For PRs to pass the required coverage should be verified. Does it need to be done again after the merge?
  3. Are the actions in PRs running against the changeset on the branch, only, or on the changeset that would result from the merge with the branch the PR is targeting?
  4. If I'm requiring 100% coverage, is there any way for the PR to be passing, but then failing after the PR is merged? It is possible when requiring less than 100%.
  5. Here are some examples of different ways be more focused with the triggering events.
GuyHoozdis commented 4 weeks ago

Here are some examples of automating updates to branches

Docs on GH Actions: