Skip to content

Updates and schema for findSim to handle enum of options for readout … #97

Updates and schema for findSim to handle enum of options for readout …

Updates and schema for findSim to handle enum of options for readout … #97

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Python package
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the stable branch
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# 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: ubuntu-latest
strategy:
matrix:
python-version: [3.7,3.8,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@v2
- name: Set up PYTHON ${{matrix.python-version}}
uses : actions/setup-python@v1
with:
python-version: ${{matrix.python-version}}
# Runs a single command using the runners shell
- name: Install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
sudo -E apt install python3-tk
python -m pip install numpy matplotlib --user
# Runs a set of commands using the runners shell
- name: Build
run: |
python -m pip install git+https://github.com/BhallaLab/moose-core.git
python -m pip install jsonschema
- name: Test scripts
run: ./test.sh