-
Notifications
You must be signed in to change notification settings - Fork 765
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
create a github action for triggering client-sdk tests on new pull-request #850
base: main
Are you sure you want to change the base?
Conversation
9a84b07
to
7a59e27
Compare
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.
This would be super useful. Thanks!
name: auto-tests | ||
|
||
on: | ||
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.
I don't think we should automatically run this -- not yet. Can you make sure you keep this action available so people can manually invoke it on a commit?
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.
yes we also allow manual trigger (line 5)
I don't think we should automatically run this -- not yet.
what is your consideration here?
test-llama-stack-as-library: | ||
runs-on: ubuntu-latest | ||
env: | ||
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }} |
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.
who can access these secrets? can any public developer invoke the workflow?
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.
only us can access the secrets but any public developer can invoke the flow
ea89cb0
to
294b58c
Compare
.github/workflows/tests.yml
Outdated
provider: [fireworks, together] | ||
|
||
# Dumb approach to restrict the users who trigger the gh actions | ||
if: contains('["ashwinb", "yanxi0830", "hardikjshah", "dltn", "raghotham", "dineshyv", "vladimirivic", "sixianyi0721"]', github.actor) |
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.
Updated such that only those in CODEOWNER files can trigger the gh action. Will follow up with a smarter approach
705186d
to
94b592d
Compare
What does this PR do?
Create a new github action that runs integration tests on fireworks and together distro upon new PR
Key features:
Next steps:
Test Plan
See the job run triggered by this PR