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

feat(core): add affected projects by test suffixes #25

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

EladBezalel
Copy link
Collaborator

No description provided.

@@ -23,6 +23,7 @@ export const trueAffected = async ({
base = 'origin/main',
projects,
includeFiles = [],
testSuffixes = ['spec', 'test'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we sure that only tests are things that can create this problem? What about types? Or bin files?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let's start with these, and later improve by requirements.
Also I'd give control from the cli of its required

Copy link
Collaborator

Choose a reason for hiding this comment

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

what i am saying is that maybe the name of the option (testSuffixes) is wrong

@EladBezalel EladBezalel merged commit 8398eb9 into main Dec 11, 2023
13 checks passed
@EladBezalel EladBezalel deleted the include-test-files branch December 11, 2023 20:02
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

2 participants