Skip to content

Commit 30a93b7

Browse files
Add build binaries
1 parent d83533e commit 30a93b7

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1-
name: test
1+
name: Build binaries
22

33
on:
4-
pull_request:
54
push:
5+
branches:
6+
- main
67

78
jobs:
8-
test:
9+
build:
910
runs-on: ubuntu-latest
1011
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
13-
with:
14-
node-version: 16
15-
- run: npm install
16-
- run: npm test
12+
- uses: actions/checkout@v2
13+
# setup python
14+
- name: Set up Python 3.8
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.8
18+
- name: Build binaries
19+
run: |
20+
pip install -r requirements.txt
21+
pip install pyinstaller
22+
pyinstaller --onefile __main__.py

0 commit comments

Comments
 (0)