We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d51358 commit 52db752Copy full SHA for 52db752
1 file changed
.github/workflows/install_examples.yml
@@ -0,0 +1,34 @@
1
+name: setup.py, examples
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build-linux:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - name: Set up Python
12
+ uses: actions/setup-python@v2
13
+ - name: Install Python dependencies
14
+ run: |
15
+ # Set up conda
16
+ echo $CONDA/bin >> $GITHUB_PATH
17
18
+ # Set up (virtual) X11
19
+ sudo apt install -y xvfb
20
21
+ # Install test tools
22
+ conda install pip pytest
23
24
+ # Install python-control dependencies
25
+ conda install numpy matplotlib scipy
26
+ conda install -c conda-forge slycot pmw
27
28
+ - name: Install with setup.py
29
+ run: python setup.py install
30
31
+ - name: Run examples
32
33
+ cd examples
34
+ ./run_examples.sh
0 commit comments