File tree 1 file changed +26
-7
lines changed
1 file changed +26
-7
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,16 @@ name: PythonObserver
5
5
run-name : ${{ github.actor }} is learning GitHub Actions
6
6
on :
7
7
push :
8
- branches :
9
- - main
10
- - release/*
8
+ branches : [ main ]
11
9
pull_request :
12
- branches :
13
- - main
10
+ branches : [ main ]
14
11
15
12
permissions :
16
13
contents : read
17
14
18
15
jobs :
19
- test :
20
- name : " Build Test "
16
+ Run-Windows :
17
+ name : Build Python Observer for Windows
21
18
runs-on : windows-latest
22
19
steps :
23
20
- uses : actions/checkout@v3
30
27
python -m pip install --upgrade pip
31
28
pip install flake8 pytest
32
29
pip install -r requirements.txt
30
+ pip install pyqt5
31
+ pip install pysqlite3
32
+ pip install PyQtWebEngine
33
+
34
+ Run-Linux :
35
+ name : Build Python Observer for Linux
36
+ runs-on : ubuntu-latest
37
+ steps :
38
+ - uses : actions/checkout@v3
39
+ - name : Set up Python 3.10
40
+ uses : actions/setup-python@v3
41
+ with :
42
+ python-version : " 3.10"
43
+ - name : Install dependencies
44
+ run : |
45
+ python -m pip install --upgrade pip
46
+ pip install flake8 pytest
47
+ pip install -r requirements.txt
48
+ pip install pyqt5
49
+ pip install pysqlite3
50
+ pip install PyQtWebEngine
51
+
You can’t perform that action at this time.
0 commit comments