-
Notifications
You must be signed in to change notification settings - Fork 166
Silence logs when running Jest on GitHub CI #1893
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
base: main
Are you sure you want to change the base?
Conversation
|
| max_attempts: 3 | ||
| retry_on: error | ||
| command: npx nx run-many --target ${{ matrix.test-suits.target || 'test' }} --projects "${{ matrix.test-suits.include }}" --exclude "${{ matrix.test-suits.exclude }}" --quiet | ||
| command: npx nx run-many --target ${{ matrix.test-suits.target || 'test' }} --projects "${{ matrix.test-suits.include }}" --exclude "${{ matrix.test-suits.exclude }}" --quiet -- --silent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add this to the 'jest.preset.js' file. But that way will affect local tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR silences verbose logs during Jest test execution in GitHub CI while preserving error output and test failure information.
Changes:
- Added
--silentflag to Jest test execution command in CI workflow
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.



Fixes OPS-3498.
Additional notes: