Skip to content

patches: fix Spiking.t_samp_ms and IOProc sample skipping #113

patches: fix Spiking.t_samp_ms and IOProc sample skipping

patches: fix Spiking.t_samp_ms and IOProc sample skipping #113

Workflow file for this run

name: tests
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events for master
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
debug_enabled:
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
required: false
default: false
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python: [3.9, "3.10", 3.11, 3.12]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: "poetry"
- run: poetry install --no-interaction
- name: test
run: poetry run pytest -n auto --ignore=docs/tutorials/lqr_ctrl_ldsctrlest.ipynb
# - name: Setup tmate session # for optional debugging
# uses: mxschmitt/action-tmate@v3
# if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}