-
Notifications
You must be signed in to change notification settings - Fork 1
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
Adding Pipeline to Repo #35
Conversation
This is a new branch where I am going through GitHub actions to create the pipeline
@@ -34,7 +34,7 @@ function App() { | |||
|
|||
websocket.current.onclose = (event) => { | |||
console.log("WebSocket connection closed: ", event); | |||
websocketConnected = false; | |||
// websocketConnected = false; | |||
}; | |||
|
|||
return () => { |
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.
Proper state management for WebSocket connection in frontend.
isort==5.13.2 | ||
pylint==3.3.1 | ||
tomlkit==0.13.2 |
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.
Good job setting up the CI workflow for both building and linting! The matrix and Python setup is clear and structured well.
source env/bin/activate | ||
cd ${{github.workspace}}/backend | ||
pytest -s websocketUnitTest.py | ||
|
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.
Great test for WebSocket! Check edge cases too
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.
Great job!
The follow up task would be to refactor the codes in our codebase to pass linter tests and ensure the pipeline runs successfully. But that's an independent issue outside the scope of your PR
Fixes #29
Why was the change needed:
How was it changed: