Skip to content

Bump actions/checkout from 4 to 5 (#351) #7

Bump actions/checkout from 4 to 5 (#351)

Bump actions/checkout from 4 to 5 (#351) #7

Workflow file for this run

name: pytest-mac
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
jobs:
pytest:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v5
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install pyro
run: pip install .
- name: Run tests with pytest
run: pytest -v --nbval --color=yes