Skip to content

readme

readme #7

Workflow file for this run

name: Django CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.11.6]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests'
env:
SECRET_KEY: 69tgugtg%^fgJO&*&
DB_NAME: mydb
DB_USER: userdb
DB_PASSWORD: password
DJANGO_ALLOWED_HOSTS: localhost 127.0.0.1 [::1]
DEBUG_MODE: False
TIME_ZONE: Africa/Bangui
CACHE_KEY_PREFIX: Halo
run: |
python manage.py test