Skip to content

remove old simulation notebook #169

remove old simulation notebook

remove old simulation notebook #169

name: Build and Test
on:
release:
types:
- published
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
if: ${{ !contains(github.event.head_commit.message, '[skip ci]' ) }}
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8, 3.9, "3.10", 3.11] # quoted 3.10 needed due to this bug: https://github.com/actions/runner/issues/1989
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Ruff Linting
uses: chartboost/ruff-action@v1
with:
version: 0.0.289
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install multidms
run: |
pip install --upgrade pip
pip install -e ".[dev]"
- name: Black Format Check
uses: psf/black@stable
with:
options: "--check"
src: "."
jupyter: false
version: "~= 23.3.0" # this is the version that ships with the vs code extension, currently
- name: Test
run: |
pytest
pytest --doctest-modules
- name: Test docs build
run: |
make -C docs clean
make -C docs html