-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
nx-cloud workflow doesn't work with karma test #12045
Comments
Hi @DaSchTour ! The commands generated for the Nx Cloud workflow are just meant as a general example -- feel free to adjust them to fit the needs of your project. Whether that's moving the For that reason, I'm going to close this issue, since this is fixable with user configuration. |
@StalkAltan well, that still is some unfortunate combination that from my experience will scare certain type of inexperienced developers. |
@DaSchTour Did you manage to solve this with mixed Karma and Jest workflows? This appears to be an issue for me also. |
@harellevy no I did not have mixed tests in one repo. Probably the only solution ist to create a configuration for ci and use --configuration=ci and add ci:true as an option to the ci configuration in jest targets. |
make test task depend less on jest specific options and use configuration instead to be more inclusive ISSUES CLOSED: nrwl#12045
make test task depend less on jest specific options and use configuration instead to be more inclusive ISSUES CLOSED: nrwl#12045
make test task depend less on jest specific options and use configuration instead to be more inclusive ISSUES CLOSED: nrwl#12045
make test task depend less on jest specific options and use configuration instead to be more inclusive ISSUES CLOSED: nrwl#12045
make test task depend less on jest specific options and use configuration instead to be more inclusive ISSUES CLOSED: nrwl#12045
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. |
The test target uses the ci flag which is only supported by jest and not by karma. This probably will also cause issues in setups with jest and karma tests mixed.
Current Behavior
Test target fails with
'ci' is not found in schema
Expected Behavior
Test target should not fail
Steps to Reproduce
@nrwl/workspace:ci-workflow
generator with Github as CI (probably also true for others)Failure Logs
'ci' is not found in schema
Environment
Node : 16.17.0
OS : darwin x64
npm : 8.15.0
nx : 14.7.5
@nrwl/angular : 14.7.5
@nrwl/cypress : 14.7.5
@nrwl/detox : Not Found
@nrwl/devkit : 14.7.5
@nrwl/eslint-plugin-nx : 14.7.5
@nrwl/express : Not Found
@nrwl/jest : 14.7.5
@nrwl/js : 14.7.5
@nrwl/linter : 14.7.5
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : 14.6.2
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : 14.7.5
@nrwl/web : 14.7.5
@nrwl/workspace : 14.7.5
typescript : 4.8.3
Local workspace plugins:
Community plugins:
@jscutlery/semver: 2.27.0
ngx-deploy-npm: 4.2.4
The text was updated successfully, but these errors were encountered: