-
Notifications
You must be signed in to change notification settings - Fork 128
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
CI: general workflow improvements #4796
Draft
jorgepiloto
wants to merge
20
commits into
main
Choose a base branch
from
ci/labels
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
jorgepiloto
changed the title
ci: used a label-based workflow for pull-requests
CI: used a label-based workflow for pull-requests
Jun 12, 2024
github-actions
bot
added
maintenance
Package and maintenance related
tests:solvers
labels
Jun 12, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4796 +/- ##
===========================================
- Coverage 82.66% 36.80% -45.86%
===========================================
Files 117 117
Lines 54159 54151 -8
===========================================
- Hits 44770 19931 -24839
- Misses 9389 34220 +24831 |
jorgepiloto
changed the title
CI: used a label-based workflow for pull-requests
CI: general workflow improvements
Jun 12, 2024
jorgepiloto
force-pushed
the
ci/labels
branch
9 times, most recently
from
June 12, 2024 09:46
34dc4a8
to
4380021
Compare
jorgepiloto
force-pushed
the
ci/labels
branch
2 times, most recently
from
June 14, 2024 08:58
528f94d
to
fdb5573
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull-request allows the CI/CD pipelines to operate on a label-based approach. Main advantage is that the self-hosted runner workload gets reduced.
The CI/CD identifies which files have been modified and adds some default tags. These trigger only the required jobs. For example, if a developer adds a new example, there is no need to run the tests. Only the example should be executed.
On top of this, authorized developers in this repository can freely choose the tags in the PR, to run desired workflows on demand.
ci_cd_pr.yml
,ci_cd_main.yml
,ci_cd_night.yml
, andci_cd_release.yml
Pull-request workflow