mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-28 13:11:26 +08:00
Use pytest as a test runner
This commit is contained in:
1 parent
17f997ecd9
commit
169965f7f9
3 files changed
+6
-5
No files matched your search
@@ -45,10 +45,10 @@ jobs:
|
||||
# python_tests requires optuna>=3.0.0 since it imports FloatDistribution
|
||||
run: |
|
||||
python -m pip install --progress-bar off --upgrade pip setuptools
|
||||
pip install boto3 moto[s3]
|
||||
pip install boto3 moto[s3] pytest
|
||||
pip install --progress-bar off "optuna>=3.0.0"
|
||||
pip install --progress-bar off .
|
||||
- run: python -m unittest
|
||||
- run: pytest python_tests
|
||||
test-with-optuna-master:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --progress-bar off --upgrade pip setuptools
|
||||
pip install boto3 moto[s3]
|
||||
pip install boto3 moto[s3] pytest
|
||||
pip install --progress-bar off .
|
||||
python -m pip install --progress-bar off --upgrade git+https://github.com/optuna/optuna.git
|
||||
- run: python -m unittest
|
||||
- run: pytest python_tests
|
||||
Reference in new issue
Block a user