This commit is contained in:
2026-05-09 22:56:20 +02:00
parent 55fbeb3187
commit 9e3c05540f
2 changed files with 35 additions and 3 deletions
+34 -3
View File
@@ -12,7 +12,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -31,7 +30,6 @@ jobs:
"flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics",
# "ty check backend",
"mypy --no-incremental --config-file mypy.ini backend tests",
"pytest",
]
steps:
@@ -43,8 +41,41 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest ty
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run checker
run: ${{ matrix.checker }}
tests:
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
python-version: [
# "3.11.3",
"3.12.3",
"3.13",
"3.14",
# "3.15",
]
checker: [
"pytest",
]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}, ${{ matrix.checker }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y --no-install-recommends git docker.io
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run checker
run: "pytest"
+1
View File
@@ -5,6 +5,7 @@ pytest-asyncio
playwright
pytest-playwright
mypy
flake8
ty
types-PyYAML
types-requests