Skip to content

Conversation

lovisaberggren
Copy link
Collaborator

@lovisaberggren lovisaberggren commented Dec 16, 2024

Proposed changes

  • Run IPA validation on PRs when there are changes to /tools (js-test)
  • Run Jest unit tests on PRs when there are changes to /tools (IPA validation action). Should not fail as the rules are currently warning

Jira ticket: CLOUDP-290332

Testing:

@lovisaberggren lovisaberggren marked this pull request as ready for review December 16, 2024 16:00
@lovisaberggren lovisaberggren requested a review from a team as a code owner December 16, 2024 16:00
with:
sparse-checkout: |
.github
tools
Copy link
Collaborator

Choose a reason for hiding this comment

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

Q: Wouldn't it be better if we check /tools/spectral/ipa than tools?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was thinking to use /tools in case we add new jest tests in other tools as well in the future, but no strong opinion, I can change to /tools/spectral/ipa for now

Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought we only plan writing jest tests within /tools/spectral/ipa directory for the scope of IPA validation, but feel free to revert if any plan to add new tests outside of this directory

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah there's no plans now, so I'll keep the change 👍

@lovisaberggren lovisaberggren merged commit 4f41d1d into main Dec 16, 2024
11 checks passed
@lovisaberggren lovisaberggren deleted the CLOUDP-290332 branch December 16, 2024 17:38
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.

2 participants