Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Move environment variables under Run Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mmafrar committed Apr 7, 2024
1 parent 32fe701 commit 7e6f1cb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set Environment Variables
run: |
export SECRET_KEY=${{ secrets.SECRET_KEY }}
export DATABASE_URL=${{ secrets.DATABASE_URL }}
- name: Run Tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: |
python manage.py test

0 comments on commit 7e6f1cb

Please sign in to comment.