-
Notifications
You must be signed in to change notification settings - Fork 23
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: add workflows #3
Conversation
Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
- name: Run tests | ||
run: | | ||
cd OpenSearch-Dashboards/plugins/dashboards-assistant | ||
yarn run test:jest --coverage |
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.
yarn test --coverage
?
dashboards-assistant/package.json
Line 9 in 7477666
"test": "../../node_modules/.bin/jest --config ./test/jest.config.js", |
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.
Sure, fixed.
Signed-off-by: SuZhou-Joe <[email protected]>
d7127e9
to
cfc3e4d
Compare
Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
@joshuali925 would you mind adding a approval for this PR so I can merge this PR. |
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.
thanks
}, | ||
transformIgnorePatterns: ['<rootDir>/node_modules/(?!langchain|langsmith)'], | ||
// https://github.com/jestjs/jest/issues/6229#issuecomment-403539460 | ||
transformIgnorePatterns: ['node_modules/(?!langchain|langsmith)'], |
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.
any issue with ts-jest that we need to use babel?
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.
- There are a lot of warnings when using ts-jest because of version conflict.
- Both
ts-jest
andbabel-jest
should work but
babel-jest
is installed alongside jest- ts-jest requires extra configuration
- babel-jest is used in OSD and other plugins, not ts-jest.
* Chat window header Signed-off-by: Hailong Cui <[email protected]> * support chat title Signed-off-by: Hailong Cui <[email protected]> * dock bottom and right icon update Signed-off-by: Hailong Cui <[email protected]> * chat window style Signed-off-by: Hailong Cui <[email protected]> * fix new conversation don't show when in trace page Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]>
Description
Add workflows:
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.