Conversation
b1ce959 to
396fd37
Compare
|
Hi @bouthilx PR updated. Dashboard build test CI is moved to In last commit, I try to include It seems the best way to correctly include |
|
Thanks for the follow up! Do you think using |
205d133 to
16e8b48
Compare
src/orion/core/cli/frontend.py
Outdated
| "build", | ||
| ) | ||
| ) | ||
| assert os.path.isdir(dashboard_build_path) |
There was a problem hiding this comment.
This should be if-raise. What message could we provide the user to explain this error? That the folder is not present?
There was a problem hiding this comment.
Ok, now it raises a runtime error with message "Cannot find dashboard static files to run frontend".
There was a problem hiding this comment.
Maybe adding where it looked for it in the error message could be helpful for the user to understand what is the source of the issue.
|
@bouthilx all tests passed ! |
|
Tests succeed ! |
- Always build dashboard before running tests Rewrite dashboard build test as real pytest-compatible tests
Install dashboard build in `orion-dashboard` folder using setup.py data_files configuration Make sure to correctly locate dashboard build either in installation or in repository code
… pypi and conda jobs
… from PYPI package
Simplify checking on user-install case when we uninstall.
Check only if dashboard build files are removed on uninstall (root folder seems not deleted in any case when running CI)
2f1a9b2 to
6cfc500
Compare
|
Rebased! |
Description
Hi @bouthilx ! This is a PR to add a dashboard launcher.
Changes
dashboard/buildorion frontendto run dashboard build.orion frontendscript, usingseleniumframework.Checklist
Tests
$ tox -e py38; replace38by your Python version if necessary)Documentation
Quality
$ tox -e lint)