[python] Update github workflow, use debug instead of warning (#16565)

* update github workflow, use debug instead of warning

* use debug instead of warn
This commit is contained in:
William Cheng
2023-09-12 16:55:53 +08:00
committed by GitHub
parent 70543126f2
commit a5f79a7bdc
16 changed files with 41 additions and 13 deletions

View File

@@ -26,6 +26,7 @@ jobs:
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names

View File

@@ -22,4 +22,10 @@ pytest-3.8:
image: python:3.8-alpine
pytest-3.9:
extends: .pytest
image: python:3.9-alpine
image: python:3.9-alpine
pytest-3.10:
extends: .pytest
image: python:3.10-alpine
pytest-3.11:
extends: .pytest
image: python:3.11-alpine

View File

@@ -3,3 +3,4 @@ setuptools >= 21.0.0
urllib3 >= 1.25.3, < 2.1.0
pydantic >= 1.10.5, < 2
aenum >= 3.1.11
pycryptodome >= 3.9.0

View File

@@ -1,4 +1,3 @@
pytest~=7.1.3
pytest-cov>=2.8.1
pytest-randomly>=3.12.0
pycryptodome>=3.9.0