Skip to content

Commit 10f65fa

Browse files
committed
Add test for packing
1 parent 929a4d8 commit 10f65fa

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/pyarmor-smoke-test.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
name: pyarmor-smoke-test
22
run-name: ${{ github.actor }} is testing Pyarmor
33
on:
4-
create
4+
push
55

66
jobs:
7-
test-mini-windows:
8-
runs-on: windows-latest
7+
test-pack:
8+
runs-on: ubuntu-latest
99
steps:
10-
- run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.cli.core-7.6.5-cp39-none-win_amd64.whl
11-
- run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.cli-9.1.1.tar.gz
12-
- run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.mini-1.1-cp39-none-win_amd64.whl
10+
- run: pip install pyarmor.cli
11+
- run: pip install PyInstaller
1312
- run: echo "print('Hello')" > foo.py
14-
- run: pyarmor init -e foo.py
15-
- run: pyarmor build --mini
13+
- run: pyarmor gen --pack onefile foo.py
1614
- run: python dist/foo.py
15+
# test-mini-windows:
16+
# runs-on: windows-latest
17+
# steps:
18+
# - run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.cli.core-7.6.5-cp39-none-win_amd64.whl
19+
# - run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.cli-9.1.1.tar.gz
20+
# - run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.mini-1.1-cp39-none-win_amd64.whl
21+
# - run: echo "print('Hello')" > foo.py
22+
# - run: pyarmor init -e foo.py
23+
# - run: pyarmor build --mini
24+
# - run: python dist/foo.py
1725
# test-free-threading:
1826
# runs-on: ubuntu-latest
1927
# steps:

0 commit comments

Comments
 (0)