From 67db5c7a11980999def32e4b8d3ddbb270b7c66e Mon Sep 17 00:00:00 2001 From: icysanta Date: Mon, 1 Dec 2025 11:57:02 +0000 Subject: [PATCH] =?UTF-8?q?CI=20=D1=82=D0=B5=D1=81=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 0fdf796..b590e3f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -12,44 +12,32 @@ jobs: backend: runs-on: ubuntu-latest steps: - # 1. Клонируем репозиторий - name: Checkout repository uses: actions/checkout@v3 - # 2. Настройка Python - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.11' - # 3. Установка зависимостей - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r backend/requirements.txt - # 4. Проверка синтаксиса Python - name: Lint backend run: | pip install flake8 flake8 backend - # 5. Запуск тестов (если есть) - - name: Run backend tests - run: | - pip install pytest - pytest backend - frontend: runs-on: ubuntu-latest steps: - # 1. Клонируем репозиторий - name: Checkout repository uses: actions/checkout@v3 - # 2. Проверка наличия основных файлов - name: Check frontend files run: | - test -f frontend/index.html + test -f frontend/templates/index.html test -f frontend/css/style.css test -f frontend/js/main.js