From f9fae6e8954af083740e01f385a07de44e1c1835 Mon Sep 17 00:00:00 2001 From: ZdenekSrotyr Date: Thu, 9 Apr 2026 09:10:29 +0200 Subject: [PATCH] fix: CI installs requirements-dev.txt (faker needed for tests), set TESTING=1 --- .github/workflows/ci.yml | 4 +++- .github/workflows/deploy.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a017be..8945e88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,12 @@ jobs: uses: astral-sh/setup-uv@v4 - name: Install dependencies - run: uv pip install --system -r requirements.txt + run: uv pip install --system -r requirements-dev.txt - name: Run tests run: pytest tests/ -v --tb=short + env: + TESTING: "1" docker-build: runs-on: ubuntu-latest diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5fbfa1b..dad55a6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,10 +18,12 @@ jobs: uses: astral-sh/setup-uv@v4 - name: Install dependencies - run: uv pip install --system -r requirements.txt + run: uv pip install --system -r requirements-dev.txt - name: Run tests run: pytest tests/ -v --tb=short + env: + TESTING: "1" build-and-push: needs: test