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

Use GHA's if: instead of dedicated jobs #2872

Merged
merged 4 commits into from
Dec 6, 2023

Conversation

TotoGaz
Copy link
Contributor

@TotoGaz TotoGaz commented Dec 6, 2023

This prevents from having specific jobs acting as gates to label-driven jobs.
Those jobs (e.g. are_integrated_tests_requested) may appear KO and the whole workflow would come red because an optional job was not triggered.
Using GHA's native if: pattern in the yaml keeps the workflow green when the integrated tests are not triggered.

@jhuang2601

@TotoGaz TotoGaz added the ci: run CUDA builds Allows to triggers (costly) CUDA jobs label Dec 6, 2023
@TotoGaz TotoGaz self-assigned this Dec 6, 2023
@TotoGaz TotoGaz added ci: run integrated tests Allows to run the integrated tests in GEOS CI ci: run CUDA builds Allows to triggers (costly) CUDA jobs and removed ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI labels Dec 6, 2023
@TotoGaz TotoGaz merged commit e4956c3 into develop Dec 6, 2023
@TotoGaz TotoGaz deleted the refactor/TotoGaz/areIntegratedTestsRequested branch December 6, 2023 22:52
ouassimkh pushed a commit that referenced this pull request Feb 16, 2024
This prevents from having specific jobs acting as gates to label-driven jobs.
Those jobs (e.g. are_integrated_tests_requested) may appear KO and the whole workflow would come red because an optional job was not triggered.
Using GHA's native if: pattern in the yaml keeps the workflow green when the integrated tests are not triggered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: run CUDA builds Allows to triggers (costly) CUDA jobs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants