Skip to content

added test requiment file #17

added test requiment file

added test requiment file #17

Workflow file for this run

name: test_Django
on: [ pull_request, push ] # activates the workflow when there is a push or pull request in the repo
jobs:
test_project:
runs-on: ubuntu-latest # operating system your code will run on
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r app/requirements-test.txt
# pip install django==5.0.2
# pip install django-extensions
# pip install ruff
# pip install django-environ
# pip install whitenoise
- name: Run linting tools
run: |
cd app/
ruff format .
- name: Run Tests
run: |
cp .env.testing app/.env
cd app/
ls -al
cat .env
python manage.py test