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

Add e2e tests for Ruby #26

Merged
merged 8 commits into from
Jun 5, 2024
Merged

Add e2e tests for Ruby #26

merged 8 commits into from
Jun 5, 2024

Conversation

hannahramadan
Copy link
Contributor

Dockerized Ruby app, k8s setup, CI testing

@hannahramadan hannahramadan changed the title Add e2e test Add e2e tests for Ruby Jun 5, 2024
@hannahramadan hannahramadan marked this pull request as ready for review June 5, 2024 21:07
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'
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

@tippmar-nr tippmar-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@hannahramadan hannahramadan merged commit 3ef64ea into main Jun 5, 2024
16 checks passed
@hannahramadan hannahramadan deleted the ruby-e2e branch June 5, 2024 22:57
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.

3 participants