Browse Source

Fix a workflow

pull/1216/head
Hironsan 3 years ago
parent
commit
0c21f53e82
1 changed files with 6 additions and 4 deletions
  1. 10
      .github/workflows/ci.yml

10
.github/workflows/ci.yml

@ -18,16 +18,18 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pipenv pip install pipenv
pipenv sync --dev pipenv sync --dev
- name: Run migrations
run: |
pipenv run wait_for_db
pipenv run migrate
working-directory: ./app
- name: Lint with flake8 - name: Lint with flake8
run: | run: |
pipenv run flake8 pipenv run flake8
working-directory: ./app
- name: Lint with isort - name: Lint with isort
run: | run: |
pipenv run isort pipenv run isort
- name: Run migrations
run: |
pipenv run wait_for_db
pipenv run migrate
working-directory: ./app working-directory: ./app
- name: Run tests - name: Run tests
run: | run: |

Loading…
Cancel
Save