Avoid using setup.py test

This commit is contained in:
c-bata
2020-11-11 16:30:07 +09:00
parent 98e4f72f4c
commit 890191c928
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -37,4 +37,4 @@ jobs:
architecture: x64
- name: Install dependencies
run: pip install --progress-bar off .
- run: python setup.py test
- run: python -m unittest
+1 -1
View File
@@ -42,7 +42,7 @@ $ optuna-dashboard sqlite:///db.sqlite3
### Running Python unit tests
```
$ python setup.py test
$ python -m unittest
```
### Linters (flake8, black and mypy)
-1
View File
@@ -46,7 +46,6 @@ setup(
"release": ["wheel", "twine"],
},
package_data={"optuna_dashboard": ["public/*"]},
test_suite="tests",
entry_points={
"console_scripts": [
"optuna-dashboard = optuna_dashboard.cli:main",