Skip to content

Add particle_swarm_optimizer #157

Add particle_swarm_optimizer

Add particle_swarm_optimizer #157

name: Supplemental Test
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
#os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
#python-version: ['3.8', '3.9', '3.10']
python-version: ['3.8']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Up ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: pyproject.toml
- name: Install Software
run: |
python -m pip install --upgrade pip
python -m pip install .[dev,github-actions,test]
- name: Supplemental Test
run: |
pytest -s -v tests/supplements/no_initial_test_benchmark/test_benchmark_tpe_no_initial.py
pytest -s -v tests/supplements/no_initial_test_benchmark/test_benchmark_nelder_mead_no_initial.py
pytest -s -v tests/supplements/additional_resumption_test_benchmark/test_benchmark_tpe_resumption.py
pytest -s -v tests/supplements/additional_resumption_test_benchmark/test_benchmark_nelder_mead_resumption.py
pytest -s -v tests/supplements/random_generation_test_benchmark/test_benchmark_random_generation.py
pytest -s -v tests/supplements/additional_grid_test/test_benchmark_grid.py
pytest -s -v tests/supplements/additional_budget_specified_grid_test_benchmark/test_benchmark_budget_specified_grid.py
pytest -s -v tests/supplements/additional_nums_node_trial_test/test_sphere_grid_additional_nums_node_trial_test.py