Skip to content

add tests for resume/continue #408

add tests for resume/continue

add tests for resume/continue #408

Workflow file for this run

name: Test
on: [push]
jobs:
main:
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
matrix:
python-version: [3.6, 3.9]
sample: [mapper, minsearch, exchange, exchange_mesh, pamc, bayes, transform]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: apt
run: |
sudo apt update
sudo apt install openmpi-bin libopenmpi-dev
- name: pip
run: |
python -m pip install -U pip
python -m pip install setuptools wheel
python -m pip install Cython
python -m pip install numpy scipy tomli mpi4py
python -m pip install physbo
- name: ${{ matrix.algorithm }}
run: |
cd ${GITHUB_WORKSPACE}/tests/${{ matrix.sample }}
sh ./do.sh