Skip to content

No TABS allowed!

No TABS allowed! #37

Workflow file for this run

name: Build and Test on macos
on: [push, pull_request]
jobs:
build-macos:
name: Python (${{ matrix.python-version }})
runs-on: macos-latest
defaults:
run:
shell: bash -el {0}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python (Conda)
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
python-version: ${{ matrix.python-version }}
auto-activate-base: true
activate-environment: test
- name: Install conda dependencies
run: |
conda install c-compiler gfortran nceplibs-g2c nceplibs-ip ninja numpy pip pytest setuptools
- name: Install with pip
run: |
pip install .
- name: Test with pytest
run: |
python --version
#pytest