Fix tests with Optuna v3

This commit is contained in:
c-bata
2022-04-24 13:35:27 +09:00
parent a9f655e666
commit b2dc9d6c95
2 changed files with 35 additions and 7 deletions
+15
View File
@@ -42,3 +42,18 @@ jobs:
python -m pip install --progress-bar off --upgrade pip setuptools
pip install --progress-bar off .
- run: python -m unittest
test-with-optuna-master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
architecture: x64
- name: Install dependencies
run: |
python -m pip install --progress-bar off --upgrade pip setuptools
pip install --progress-bar off .
python -m pip install --progress-bar off --upgrade git+https://github.com/optuna/optuna.git
- run: python -m unittest