Skip to content

Turning off pytest for macOS in Actions. #36

Turning off pytest for macOS in Actions.

Turning off pytest for macOS in Actions. #36

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: |

Check failure on line 40 in .github/workflows/build_macosx.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_macosx.yml

Invalid workflow file

You have an error in your yaml syntax on line 40
python --version
#pytest