-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Integrate pytests into GitHub Action "on push" #95
Comments
The integration went quite well and easy. But now I've run into a blocker: Elements like ui.scene, ui.keyboard and ui.joystick are not working correctly on the GitHub Action. Locally they pass as expected. On GitHub instead of the expected template from their Vue components they just appear as elements like |
Might be a routing issue for their dependencies. If, e.g., keyboard.js is not found, a keyboard element will only insert |
Very good, @falkoschindler. It seems that somehow the component response is wrapped in a html container. If I query
instead of the expected
|
No! The above observation is incorrect. The "wrapping" happend because I used BeautifulSoup to display the content. ::facepalm:: I verified with the "requests" lib that
But why is the component accessed via |
I finally found the problem: run.py imported globals.py before setting the template directory. But globals.py imported justpy for type annotations. Therefore justpy setted its directories before we could modify them as necessary. Fixed in 4fd338b. |
All green :-) |
We want to run all our pytests for every push so no regressions creep in unnoticed. Most of the tests are based on selenium. Therefore the GithHub action "test.yml" needs to be extended accordingly.
Tasks:
The text was updated successfully, but these errors were encountered: