diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e4ff804..9cba9d2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -24,6 +24,19 @@ jobs: pip install -r requirements.txt cd .. + - name: Run Migrations + run: | + cd SecretNote + python manage.py migrate + cd .. + + - name: Start Django Server + run: | + cd SecretNote + python manage.py runserver 0.0.0.0:8000 & + sleep 5 + cd .. + - name: Run Tests run: | cd SecretNote