From 8b340ab206e89b33441115244b0ca26a178a91a6 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Wed, 12 Jun 2024 11:28:46 +0800 Subject: [PATCH] rm duckduckgo_search.py --- .github/workflows/api-tests.yml | 3 ++- .github/workflows/db-migration-test.yml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 20ff38e16d2fba..1f9d5036ce8475 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -101,7 +101,8 @@ jobs: python-version: ${{ matrix.python-version }} cache: 'poetry' cache-dependency-path: | - ./api/pyproject.toml + api/pyproject.toml + api/poetry.lock - name: Poetry check run: poetry check -C api diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.yml index fc591ec38bca9b..2f059bea9d7aae 100644 --- a/.github/workflows/db-migration-test.yml +++ b/.github/workflows/db-migration-test.yml @@ -32,7 +32,8 @@ jobs: python-version: ${{ matrix.python-version }} cache: 'poetry' cache-dependency-path: | - ./api/pyproject.toml + api/pyproject.toml + api/poetry.lock - name: Install dependencies run: poetry install -C api @@ -53,4 +54,4 @@ jobs: - name: Run DB Migration run: | cd api - poetry run flask db upgrade + poetry run python -m flask db upgrade