mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Follow review comments
This commit is contained in:
+3
-3
@@ -86,13 +86,13 @@ Note that `OPTUNA_DASHBOARD_DEBUG=1` makes the server will automatically restart
|
||||
|
||||
### Running tests, lint checks and formatters
|
||||
|
||||
#### Running typescript unit tests
|
||||
#### Running unit tests for `tslib/`
|
||||
|
||||
```
|
||||
$ make tstest
|
||||
$ make tslib-test
|
||||
```
|
||||
|
||||
#### Running Python unit tests
|
||||
#### Running unit tests for `python_tests/`
|
||||
|
||||
```
|
||||
$ pytest python_tests/
|
||||
|
||||
@@ -18,17 +18,17 @@ vscode/assets/bundle.js: $(RUSTLIB_OUT) $(STANDALONE_SRC) tslib
|
||||
$(DASHBOARD_TS_OUT): $(DASHBOARD_TS_SRC)
|
||||
cd optuna_dashboard && npm install && npm run build:$(MODE)
|
||||
|
||||
.PHONY: tstest
|
||||
tstest: tslib
|
||||
cd tslib/react/test && python generate_assets.py && npm run test
|
||||
cd tslib/storage/test && python generate_assets.py && npm run test
|
||||
|
||||
.PHONY: tslib
|
||||
tslib:
|
||||
cd tslib/types && npm i && npm run build
|
||||
cd tslib/storage && npm i && npm run build
|
||||
cd tslib/react && npm i && npm run build
|
||||
|
||||
.PHONY: tslib-test
|
||||
tslib-test: tslib
|
||||
cd tslib/react/test && python generate_assets.py && npm run test
|
||||
cd tslib/storage/test && python generate_assets.py && npm run test
|
||||
|
||||
.PHONY: serve-browser-app
|
||||
serve-browser-app: tslib $(RUSTLIB_OUT)
|
||||
cd standalone_app && npm run watch
|
||||
|
||||
Reference in New Issue
Block a user