Skip to content

Commit

Permalink
Merge pull request #19 from CSPCLAB/ljy2855-patch-1
Browse files Browse the repository at this point in the history
Update test.yml
  • Loading branch information
ljy2855 authored Jan 25, 2024
2 parents c0bad10 + 57aea3e commit 2360805
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Django Tests with SQLite

on:
push:
branches: [ master ]
branches: [ '*' ]
pull_request:
branches: [ master ]
branches: [ '*' ]


jobs:
test:
Expand All @@ -20,11 +21,12 @@ jobs:

- name: Install dependencies
run: |
pip install -r requirements.txt
pip install --upgrade pip
pip install -r app/requirements.txt
- name: Run tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
DJANGO_ALLOWED_HOSTS: ${{ secrets.DJANGO_ALLOWED_HOSTS }}
run: |
python manage.py test
python app/manage.py test

0 comments on commit 2360805

Please sign in to comment.