Update python-app.yml

自动构建
This commit is contained in:
DLmaster
2024-07-27 21:40:34 +08:00
committed by GitHub
parent a7e15e509e
commit d41419a579

View File

@@ -19,10 +19,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.12"
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@@ -34,6 +34,6 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
- name: Built with pyinstaller
run: |
pytest
pyinstaller -F --version-file res/info.txt -w --icon=res/AUTO_MAA.ico AUTO_MAA.py