Bump pyinstaller from 6.8.0 to 6.9.0 (#46) #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Python application | |
on: [ workflow_dispatch, push, pull_request ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ['3.9'] | |
runs-on: ${{ matrix.os }} | |
env: | |
SCRIPT_NAME: TRIKLobeServer | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: benjlevesque/[email protected] | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python --version | |
python -m pip install --upgrade pip wheel | |
pip install flake8 | |
pip install -r requirements.txt | |
- name: Lint with flake8 | |
run: | | |
# stop the build if there are Python syntax errors or undefined names | |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics | |
- name: Build single app for ${{ env.SCRIPT_NAME }} | |
run: pyinstaller ${{ env.SCRIPT_NAME }}.py --icon=trik-studio.ico --onefile | |
- name: Archive artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.SCRIPT_NAME }}-${{ runner.os }}-${{ env.SHA }} | |
path: | | |
dist | |
settings.ini |