Skip to content

uupdate requirement #10

uupdate requirement

uupdate requirement #10

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
SECRET_KEY: weaksecret
JWT_SECRET: weakjwtsecret
DB_NAME: madaurus_test
DB_USER: postgres
DB_PASS: postgres
DB_HOST: localhost
DB_PORT: 5432
EMAIL_HOST_USER: hello
EMAIL_HOST_PASSWORD: hello
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
services:
db:
image: postgres
env:
POSTGRES_DB: staff
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- name: Set up Python '3.10'
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.production.txt
- name: Run Tests
run: |
python manage.py test --noinput