Skip to content

Commit 2fb5f1c

Browse files
committed
Add action to test ci license
1 parent 1d443bb commit 2fb5f1c

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/test-runner-actions.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,24 @@ on:
3535
# - run: Get-Process
3636

3737
jobs:
38-
test-bcc:
38+
test-ci-license:
3939
runs-on: ubuntu-latest
4040
steps:
41-
- run: pip install pyarmor.cli
42-
- run: pyarmor gen t2128.py
43-
- run: python dist/t2128.py
41+
- uses: actions/checkout@v5
42+
- name: Set up Python
43+
# This is the version of the action for setting up Python, not the Python version.
44+
uses: actions/setup-python@v5
45+
with:
46+
# Semantic version range syntax or exact version of a Python version
47+
python-version: '3.10'
48+
# Optional - x64 or x86 architecture, defaults to x64
49+
architecture: 'x64'
50+
# You can test your matrix by printing the current Python version
51+
- name: Display Python version
52+
run: python -c "import sys; print(sys.version)"
53+
- run: wget https://pyarmor.dashingsoft.com/downloads/temp/citest5829.tar.gz
54+
- run: tar xzf citest.tar.gz
55+
- run: pip install citest/pyarmor_cli_core-8.1.0-cp310-none-manylinux1_x86_64.whl
56+
- run: pip install citest/pyarmor_cli-9.2.0.tar.gz
57+
- run: pyarmor reg citest/pyarmor-ci-8000.zip
58+
- run: pyarmor gen --enable-rft citest/foo.py

0 commit comments

Comments
 (0)