Skip to content

Add mac runner

Add mac runner #1

name: Unit Testing Pipeline
on:
push:
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
# - name: Install octave
# run: |
# sudo apt-get update
# sudo apt-get install -y build-essential octave
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
# pip install .
# - name: Run pyspi calculator unit tests
# run: |
# pytest -v ./tests/test_calc.py
# - name: Run pyspi SPI unit tests
# run: |
# pytest -v ./tests/test_SPIs.py