File tree 2 files changed +33
-1
lines changed
2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Black
1
+ name : Check formatting
2
2
3
3
on : [push]
4
4
Original file line number Diff line number Diff line change
1
+ name : Test on Raspberry Pi
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : self-hosted
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+
11
+ - name : Install system dependencies
12
+ run : |
13
+ sudo apt-get install libatlas-base-dev python3-pip python3-venv
14
+
15
+ - name : Set up environment
16
+ run : |
17
+ rm -rf /tmp/test
18
+ mkdir /tmp/test
19
+ python -m venv /tmp/test/.venv
20
+
21
+ - name : Install project dependencies
22
+ run : |
23
+ /tmp/test/.venv/bin/python -m pip install -r requirements.txt
24
+
25
+ - name : Run all demos to make sure they load
26
+ run : |
27
+ /tmp/test/.venv/bin/python main.py test
28
+
29
+ - name : Clean up code
30
+ if : always()
31
+ run : |
32
+ rm -rf /tmp/test
You can’t perform that action at this time.
0 commit comments