From b23fc81eac1df5a86866efcce99834905162eba4 Mon Sep 17 00:00:00 2001 From: Verum Date: Mon, 23 Feb 2026 14:59:37 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82=D1=8B=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=BF=D1=83=D1=81=D0=BA=D0=B0=20=D0=B1=D0=BE=D1=82=D0=B0=20(?= =?UTF-8?q?=D0=92=20=D1=80=D0=B0=D0=B7=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA?= =?UTF-8?q?=D0=B5!)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..7a19343 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,32 @@ +name: Bot CI + +on: + push: + branches: [ main ] + pull_request: + +jobs: + test-bot: + runs-on: ubuntu-latest + + env: + BOT_TOKEN: test_token + DATABASE_URL: sqlite+aiosqlite:///./test.db + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run bot (startup test) + run: | + timeout 10s python main.py