Skip to content

Created tests in Django REST #7

Created tests in Django REST

Created tests in Django REST #7

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r Django/Group_3/1_Django_tutorial/requirements.txt
- name: Run Tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
run: |
python Django/Group_3/1_Django_tutorial/manage.py test Django/Group_3/1_Django_tutorial/