Merge pull request #719 from sajith/3309.github-actions-run-pyinstaller-executable

Run PyInstaller-generated binary in GitHub Actions

Fixes: ticket:3309
This commit is contained in:
Sajith Sasidharan 2020-05-13 16:09:04 -04:00 committed by GitHub
commit 166be8b4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -162,7 +162,7 @@ jobs:
- name: Install Python packages
run: |
pip install --upgrade codecov tox setuptools
pip install --upgrade tox
pip list
- name: Display tool versions
@ -170,3 +170,13 @@ jobs:
- name: Run "tox -e pyinstaller"
run: tox -e pyinstaller
# This step is to ensure there are no packaging/import errors.
- name: Test PyInstaller executable
run: dist/Tahoe-LAFS/tahoe --version
- name: Upload PyInstaller package
uses: actions/upload-artifact@v2
with:
name: Tahoe-LAFS-${{ matrix.os }}-Python-${{ matrix.python-version }}
path: dist/Tahoe-LAFS-*-*.*

0
newsfragments/3309.minor Normal file
View File