From 78239b4f9ac5d9ca511494731ed42736b1e296cd Mon Sep 17 00:00:00 2001 From: Whyverum Date: Mon, 8 Dec 2025 16:53:13 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20CI-=D1=82=D0=B5=D1=81=D1=82=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 43dffd9..785025e 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -26,23 +26,16 @@ jobs: with: python-version: "3.13" - - name: Install Poetry - uses: snok/install-poetry@v1 - with: - version: "1.8.3" - virtualenvs-create: true - virtualenvs-in-project: true - installer-parallel: true - - - name: Install dependencies + - name: Install project (PEP 621) run: | - poetry install --no-interaction --no-root + python -m pip install --upgrade pip + pip install . - name: Basic import checks run: | - poetry run python -c "import configs; from bot import Bot; print('Bot class ok')" - poetry run python -c "from bot import discbot; print('Global bot instance ok')" + python -c "import configs; from bot import Bot; print('Bot class ok')" + python -c "from bot import discbot; print('Global bot instance ok')" - name: Load cogs without running bot run: | - poetry run python -c "from bot import discbot; import asyncio; asyncio.run(discbot.setup()); print('Cogs loaded')" + python -c "from bot import discbot; import asyncio; asyncio.run(discbot.setup()); print('Cogs loaded')"