This commit is contained in:
2026-03-20 04:26:48 +03:30
parent 124092d55e
commit e0e12f3927
2 changed files with 11 additions and 13 deletions
+11 -12
View File
@@ -85,23 +85,22 @@ jobs:
- name: Install system dependencies
run: |
apt-get install -y \
python3 \
python3-pip \
python3-venv \
software-properties-common
ppa:deadsnakes/ppa
python3.11 python3.11-venv python3.11-dev python3.11-distutils
pkg-config \
build-essential \
default-libmysqlclient-dev
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
pip3 install pytest flake8
python3.11 -m pip install --upgrade pip
python3.11 -m pip install -r requirements.txt
- name: Run lint
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# - name: Run lint
# run: |
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Run tests
run: |
pytest -q
# - name: Run tests
# run: |
# pytest -q
-1
View File
@@ -1,4 +1,3 @@
numpy==1.26.4
Django>=5.0,<5.2
djangorestframework>=3.14,<3.16
djangorestframework-simplejwt>=5.3,<5.4