File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : setup.py, examples
1+ name : Setup, Examples, Notebooks
22
33on : [push, pull_request]
44
77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v2
11- - name : Set up Python
12- uses : actions/setup-python@v2
13- - name : Install Python dependencies
10+ - uses : actions/checkout@v3
11+ - name : Install Python dependencies from conda-forge
1412 run : |
15- # Set up conda
13+ # Set up conda using the preinstalled GHA conda environment
1614 echo $CONDA/bin >> $GITHUB_PATH
15+ conda config --add channels conda-forge
16+ conda config --set channel_priority strict
1717
18- # Set up (virtual) X11
19- sudo apt install -y xvfb
18+ # Install build tools
19+ conda install pip setuptools setuptools-scm
2020
21- # Install test tools
22- conda install pip pytest
21+ # Install python-control dependencies and extras
22+ conda install numpy matplotlib scipy
23+ conda install slycot pmw jupyter
2324
24- # Install python-control dependencies
25- conda install numpy matplotlib scipy jupyter
26- conda install -c conda-forge slycot pmw
27-
28- - name : Install with setup.py
29- run : python setup.py install
25+ - name : Install from source
26+ run : pip install .
3027
3128 - name : Run examples
3229 run : |
Original file line number Diff line number Diff line change 66 exec (fd .read (), ver )
77 version = ver .get ('__version__' , 'dev' )
88except IOError :
9- version = 'dev '
9+ version = '0.0.0dev '
1010
1111with open ('README.rst' ) as fp :
1212 long_description = fp .read ()
You can’t perform that action at this time.
0 commit comments