Skip to content

Fix python version

Fix python version #5

name: Unit Testing Pipeline
on:
push:
jobs:
build:
runs-on: macos-14
strategy:
matrix:
python-version: ["3.10.11"]
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 (with brew)
run: |
brew install 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