-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Running nx affected --target=test runs no tests in Azure #2820
Comments
Maybe it's related to this: #2472 I have found out that affected output is different on linux and windows build agents. on linux it seems to work the right way you may try out ... |
Also running into this same issue; not sure how to solve it. We have 12 test classes and it doesn't run any of them with this command. When we run Edit: I think what's happening is that the scoping of 'local dev' and a local build for deploy or continuous integration is different. This is scoped (my term) at several levels: |
I'm circling back to some of these issues related to differences between Windows/Linux/Mac OS and I think they're resolved in our latest version of Nx 9 and 10. Are you able to update your repo to 9.6 or 10.1 to see if that resolves the issue? |
This should be fixed in the latest version of 9.x and 10.x of Nx. Please open another bug if you see it again after upgrading to the latest version. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Please make sure you have read the submission guidelines before posting an issue
Prerequisites
Please answer the following questions for yourself before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.
Expected Behavior
Please describe the behavior you are expecting
When I run
In an Azure pipeline it should run against all affected tests, or all, if it has no memory of previous tests.
Current Behavior
It currently runs in 4s with the message
I've also tried with various connotations of the repo, using head and the like, but no success.
Context
Please provide any relevant information about your setup:
Failure Logs
Please include any relevant log snippets or files here.
Other
Any other relevant information that will help us help you.
The text was updated successfully, but these errors were encountered: