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: |