diff --git a/.drone.yml b/.drone.yml index 0c4ea4d..3585569 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,13 @@ trigger: - push steps: + - name: Run frontend tests + image: node:24-alpine + commands: + - cd frontend + - npm ci + - npx vitest run + - name: Cache builder stage image: plugins/docker settings: @@ -102,6 +109,14 @@ trigger: - push steps: + - name: Run backend tests + image: python:3.13-slim + commands: + - apt-get update && apt-get install -y --no-install-recommends gcc libmariadb-dev python3-dev build-essential && rm -rf /var/lib/apt/lists/* + - pip install --no-cache-dir -r requirements.txt + - pip install --no-cache-dir pytest pytest-asyncio pytest-xdist httpx aioresponses fakeredis + - pytest tests/ -x -q + - name: Cache builder stage image: plugins/docker settings: