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 - name: Install system dependencies
run: | run: |
apt-get install -y \ apt-get install -y \
python3 \ software-properties-common
python3-pip \ ppa:deadsnakes/ppa
python3-venv \ python3.11 python3.11-venv python3.11-dev python3.11-distutils
pkg-config \ pkg-config \
build-essential \ build-essential \
default-libmysqlclient-dev default-libmysqlclient-dev
- name: Install dependencies - name: Install dependencies
run: | run: |
python3 -m pip install --upgrade pip python3.11 -m pip install --upgrade pip
pip3 install -r requirements.txt python3.11 -m pip install -r requirements.txt
pip3 install pytest flake8
- name: Run lint # - name: Run lint
run: | # run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Run tests # - name: Run tests
run: | # run: |
pytest -q # pytest -q
-1
View File
@@ -1,4 +1,3 @@
numpy==1.26.4
Django>=5.0,<5.2 Django>=5.0,<5.2
djangorestframework>=3.14,<3.16 djangorestframework>=3.14,<3.16
djangorestframework-simplejwt>=5.3,<5.4 djangorestframework-simplejwt>=5.3,<5.4