make geospatial an optional dep #96
Workflow file for this run
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: Conda | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: neworder (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
- name: setup | |
shell: bash -l {0} | |
run: | | |
sudo apt-get update && sudo apt-get install -y mpich libmpich-dev | |
conda info | |
conda list | |
conda install python=${{ matrix.python-version }} gxx_linux-64 numpy pandas pybind11 pytest # mpich mpi4py | |
- name: build | |
shell: bash -l {0} | |
run: | | |
conda activate test | |
python -m pip install . | |
- name: test | |
shell: bash -l {0} | |
run: | | |
conda activate test | |
mpiexec -n 2 python -m pytest | |