Skip to content

Commit

Permalink
Mve django environment envar inside setp to apply migration
Browse files Browse the repository at this point in the history
  • Loading branch information
cxrxixs committed May 12, 2024
1 parent a11e82e commit db4003b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: test

on: push

env:
DJANGO_ENVIRONMENT: test
# env:
# DJANGO_ENVIRONMENT: test

jobs:
test:
Expand Down Expand Up @@ -59,6 +59,9 @@ jobs:
run: |
pipenv run python manage.py migrate
env:
DJANGO_ENVIRONMENT: test

- name: Run tests
run: |
pipenv run pytest -v

0 comments on commit db4003b

Please sign in to comment.