File tree Expand file tree Collapse file tree 3 files changed +28
-116
lines changed Expand file tree Collapse file tree 3 files changed +28
-116
lines changed Original file line number Diff line number Diff line change 1717 PY_COLORS : 1 # For log color with pytest
1818
1919jobs :
20- tests :
20+ pytest :
2121 strategy :
2222 fail-fast : false
2323 matrix :
@@ -129,6 +129,29 @@ jobs:
129129 name : widget-img
130130 path : ./${{ env.TEST_IMG_OUTPUT_PATH}}/*.png
131131
132- - name : Test freezing-pkg(PyInstaller)
133- if : matrix.qt != 'none' && runner.os != 'Linux'
134- run : poetry run python -m tools.test_freezing_lib
132+ pyinstaller :
133+ runs-on : ubuntu-latest
134+ steps :
135+ - uses : actions/checkout@v3
136+ - uses : actions/setup-python@v4
137+ id : setup-python
138+ with :
139+ python-version : ' 3.11'
140+
141+ - name : Cache ./.venv (poetry dependencies)
142+ id : cache-venv
143+ uses : actions/cache@v3
144+ with :
145+ path : .venv
146+ key : " \
147+ venv-test-PyInstaller-\
148+ ${{ steps.setup-python.outputs.python-version }}"
149+
150+ - run : python -m venv .venv
151+ if : steps.cache-venv.outputs.cache-hit != 'true'
152+
153+ - name : Install Python dependencies
154+ run : python -m pip install -U PyInstaller PyQt6
155+
156+ - name : Test PyInstaller
157+ run : python -m tools.test_freezing_lib
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ sphinx-copybutton = "^0.5.0"
7474optional = true
7575
7676[tool .poetry .group .github-actions .dependencies ]
77- pyinstaller = " ^5.6.1"
7877pytest-github-actions-annotate-failures = " ^0.1.7"
7978
8079[build-system ]
You can’t perform that action at this time.
0 commit comments