Skip to content

Commit 4dc37ff

Browse files
authored
Update python-app.yml
1 parent 858b22b commit 4dc37ff

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

.github/workflows/python-app.yml

+26-7
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,16 @@ name: PythonObserver
55
run-name: ${{ github.actor }} is learning GitHub Actions
66
on:
77
push:
8-
branches:
9-
- main
10-
- release/*
8+
branches: [ main ]
119
pull_request:
12-
branches:
13-
- main
10+
branches: [ main ]
1411

1512
permissions:
1613
contents: read
1714

1815
jobs:
19-
test:
20-
name: "Build Test"
16+
Run-Windows:
17+
name: Build Python Observer for Windows
2118
runs-on: windows-latest
2219
steps:
2320
- uses: actions/checkout@v3
@@ -30,3 +27,25 @@ jobs:
3027
python -m pip install --upgrade pip
3128
pip install flake8 pytest
3229
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+

0 commit comments

Comments
 (0)