-
Notifications
You must be signed in to change notification settings - Fork 5
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
PyPi-push CI changes: unit tests, include releases/* branches #143
Conversation
To Do: - consider adding a "needs" section
* added unit tests jobs To Do: - consider adding a "needs" section * Update publish-to-PyPI.yml * Update open-source-unit-tests.yml * Update open-source-unit-tests.yml
@@ -20,12 +20,10 @@ on: | |||
image_tag: | |||
description: 'Marqo image tag. Examples: "1.1.0", "test" "latest"' | |||
required: true | |||
push: | |||
branches: | |||
- mainline | |||
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just clarifying this runs unit tests every time there's a push to a mainline or releases branch, right? If so, this might be a good thing to add to the marqo
repo as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean the pull_requests
trigger? It runs every time there is a push to a branch that is in PR directed at mainline/releases. This would be really useful to be added to Marqo too (I plan to add this to Marqo at some point)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep i meant the pull_requests
trigger. Does it also run when the pull request itself is created, or only on pushes to it? Also doing a bit of research, the pull_request_review
trigger may also be cool to think about. But that can be done another time.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
CI pipeline update
What is the current behavior? (You can also link to an open issue here)
PyPi-push CI only runs on pushes to mainline, does not run unit tests.
The unit tests pipeline also runs on pushes to mainline.
What is the new behavior (if this is a feature change)?
PyPi-push CI now also runs on branches matching the
releases/*
pattern. The pipeline also runs unit tests, which must pass, before being pushed to PyPi.The unit tests pipeline no longer also runs on pushes to mainline, as these tests are run in the upgraded push-to-pypi workflow
The unit tests pipeline now also runs on update to PRs matching the
releases/*
pattern.Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Testing
After changes are merged, the follow tests will be run through:
Notes and observations