Skip to content

Support Default App Install & Arg Paths. #6

Support Default App Install & Arg Paths.

Support Default App Install & Arg Paths. #6

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!main' # excludes master
- '!master' # excludes main
- '!develop' # excludes develop
permissions:
contents: read
jobs:
build_other:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Python Black
uses: psf/black@stable
with:
options: "--check --verbose"
src: "."
version: "~= 22.0"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
exclude: "tests/*,doc/*,scripts/*"
max-line-length: "100"
build_other_windows_exe:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run PyInstaller
run: |
python package.py