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