Replace the badge from readthedocs to publishing on github pages. #622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |