Skip to content

Update pythonpublish.yml #66

Update pythonpublish.yml

Update pythonpublish.yml #66

Workflow file for this run

name: pytest-macOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Build-macOS:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.6-dev, 3.x]
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: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest numpy
python3 -m pip install -e .
env:
PYTHONPATH: $PWD
- name: Run examples
run: |
python3 examples/use_classic.py
python3 examples/use_modernised.py
- name: Test with pytest
run: py.test -vs tests