From 0c21f53e8203e904bed12f460a56b8f2b60a2970 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Wed, 24 Feb 2021 15:01:16 +0900 Subject: [PATCH] Fix a workflow --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e35c489e..446c38cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,16 +18,18 @@ jobs: python -m pip install --upgrade pip pip install pipenv pipenv sync --dev + - name: Run migrations + run: | + pipenv run wait_for_db + pipenv run migrate + working-directory: ./app - name: Lint with flake8 run: | pipenv run flake8 + working-directory: ./app - name: Lint with isort run: | pipenv run isort - - name: Run migrations - run: | - pipenv run wait_for_db - pipenv run migrate working-directory: ./app - name: Run tests run: |