Skip to content

Python package

Python package #11

Workflow file for this run

name: Python package
on: workflow_dispatch
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ["3.11"]
steps:
- name: Checkout and init submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy matplotlib
pip install .
- name: Run test
run: |
pip install pytest
pytest tests