-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (34 loc) · 1.35 KB
/
optimizer_algorithm_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Optimizer Algorithm 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: Optimizer Algorithm Test
run: |
pytest -s -v tests/integration/sphere/test_sphere_random.py
pytest -s -v tests/integration/sphere/test_sphere_grid.py
pytest -s -v tests/integration/sphere/test_sphere_budget_specified_grid.py
pytest -s -v tests/integration/sphere/test_sphere_sobol.py
pytest -s -v tests/integration/sphere/test_sphere_sobol_int.py
pytest -s -v tests/integration/sphere/test_sphere_tpe.py
pytest -s -v tests/integration/sphere/test_sphere_nelder_mead.py
pytest -s -v tests/integration/sphere/test_sphere_motpe.py