Skip to content

Merge pull request #90 from cds-astro/dependabot/pip/mocpy-gte-0.15.0… #288

Merge pull request #90 from cds-astro/dependabot/pip/mocpy-gte-0.15.0…

Merge pull request #90 from cds-astro/dependabot/pip/mocpy-gte-0.15.0… #288

# This runs alls notebooks in the Notebooks folder
name: mac-os
# Controls when the workflow will run
on:
push:
branches:
- master
pull_request:
branches:
- master
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test-macos:
runs-on: macOS-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest --nbmake -n=auto "./Notebooks"