Skip to content

Fix bug with parameter type in Ax generators #973

Fix bug with parameter type in Ax generators

Fix bug with parameter type in Ax generators #973

Workflow file for this run

name: Unix
on:
push:
pull_request:
# Run daily at midnight (UTC).
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, '3.10', 3.11]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
name: Setup conda
with:
auto-update-conda: true
activate-environment: testing
auto-activate-base: false
channels: defaults
channel-priority: true
python-version: ${{ matrix.python-version }}
- shell: bash -l {0}
name: Install dependencies
run: |
conda install numpy pandas pytorch cpuonly -c pytorch
conda install -c conda-forge mpi4py mpich
pip install .[test]
- shell: bash -l {0}
name: Run unit tests with MPICH
run: |
python -m pytest tests/
- shell: bash -l {0}
name: Replace MPICH with openMPI
run: |
conda uninstall mpi4py mpich
conda install -c conda-forge mpi4py openmpi
- shell: bash -l {0}
name: Run unit tests with openMPI
run: |
rm -r tests_output
python -m pytest tests/