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

[Fix] [CI/CD] Check if input is empty #798

Merged
merged 2 commits into from
Jun 2, 2023
Merged

[Fix] [CI/CD] Check if input is empty #798

merged 2 commits into from
Jun 2, 2023

Conversation

sindhuvahinis
Copy link
Contributor

@sindhuvahinis sindhuvahinis commented Jun 2, 2023

Description

Scheduler does not have the options to get inputs. Inputs are only seems to be available in worflow_dispatch.

So, made the default value of run_test to be empty. Even if input is not even provided, github seems to set the input param name empty by default.

Testing:
I removed the whole run_test input for yaml and ran the workflow, github.event.inputs.run_test env variable is validated to be empty. So the tests were not skipped.

https://github.com/deepjavalibrary/djl-serving/actions/runs/5158317906

@sindhuvahinis sindhuvahinis requested review from zachgk, frankfliu and a team as code owners June 2, 2023 18:17
@sindhuvahinis sindhuvahinis merged commit 26ac5a2 into master Jun 2, 2023
7 checks passed
@sindhuvahinis sindhuvahinis deleted the bug_fix branch June 2, 2023 21:56
KexinFeng pushed a commit to KexinFeng/djl-serving-forked that referenced this pull request Aug 16, 2023
* [Fix] [CI/CD] Check if input is empty
KexinFeng pushed a commit to KexinFeng/djl-serving-forked that referenced this pull request Aug 16, 2023
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

3 participants