-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add e2e tests for Ruby #26
Conversation
Dockerized Ruby app, k8s setup, CI testing
.github/workflows/ruby.yml
Outdated
runs-on: ubuntu-latest | ||
needs: check-modified-files | ||
# run only if files were modified or the workflow was manually invoked | ||
if: needs.check-modified-files.outputs.files-changed == 'true' || github.event_name == 'workflow_dispatch' |
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.
You will probably want to add || (github.event_name == 'release' && endsWith(github.ref_name, '_ruby')
to ensure the tests
job runs on release.
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.
The publish
job depends on the test
job to run, but from what I understand, publish
won't run if test
job conditions aren't met. So this is a great call out!
Other agents appear to be missing this condition as well. I'll update Ruby's.
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.
Looks good!
Dockerized Ruby app, k8s setup, CI testing