forked from python-control/python-control
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 835 Bytes
/
install_examples.yml
File metadata and controls
32 lines (25 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Setup, Examples, Notebooks
on: [push, pull_request]
jobs:
install-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python dependencies from conda-forge
run: |
# Set up conda using the preinstalled GHA Miniconda environment
echo $CONDA/bin >> $GITHUB_PATH
conda config --add channels conda-forge
conda config --set channel_priority strict
# Install build tools
conda install pip setuptools setuptools-scm
# Install python-control dependencies and extras
conda install numpy matplotlib scipy
conda install slycot pmw jupyter
- name: Install from source
run: pip install .
- name: Run examples
run: |
cd examples
./run_examples.sh
./run_notebooks.sh