Update django.yml

This commit is contained in:
Bhupesh Varshney
2020-01-23 20:02:46 +05:30
committed by GitHub
parent 533b24eb42
commit e1de33dd71
+3 -3
View File
@@ -1,4 +1,4 @@
name: Django Build name: Django CI
on: [push] on: [push]
@@ -17,12 +17,12 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install Dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
- name: Run Tests - name: Run Tests
env: env: #define SECRET_KEY in Secrets
SECRET_KEY: ${{ secrets.SECRET_KEY }} SECRET_KEY: ${{ secrets.SECRET_KEY }}
DEBUG: False DEBUG: False
run: | run: |