Skip to content

Merge pull request #29 from DynamicsAndNeuralSystems/jmoo2880-pypi-pu… #27

Merge pull request #29 from DynamicsAndNeuralSystems/jmoo2880-pypi-pu…

Merge pull request #29 from DynamicsAndNeuralSystems/jmoo2880-pypi-pu… #27

Workflow file for this run

name: Unit Testing Pipeline
on:
push:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.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: Install pycatch22
run: |
python -m pip install --upgrade pip
pip install pytest
pip install numpy
pip install .
- name: Run basic unit tests
run: |
pytest -v ./tests/unit_tests.py
- name: Run feature benchmarking tests
run: |
pytest -v ./tests/test_features.py