Skip unit test with optuna version

This commit is contained in:
keisuke-umezawa
2024-01-24 21:58:07 +09:00
parent 0cca727ee7
commit db15d9b56d
8 changed files with 82 additions and 2 deletions
+19
View File
@@ -70,3 +70,22 @@ jobs:
- name: Run python unit tests
run: |
pytest python_tests
test-with-optuna-oldest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
architecture: x64
- name: Install dependencies
run: |
python -m pip install --progress-bar off --upgrade pip setuptools
pip install --progress-bar off .[optional]
pip install --progress-bar off .[test]
pip install --progress-bar off .
python -m pip install --progress-bar off --force-reinstall optuna==3.1.0
- name: Run python unit tests
run: |
pytest python_tests