Skip to content

Update views.py

Update views.py #23

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest # Use windows-latest to run on the latest version of Windows runner
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.11.6
uses: actions/setup-python@v2
with:
python-version: 3.11.6
# Add your other steps here
- name: Navigate to Subdirectory and Install Dependencies
run: |
cd Backend/Hotel_Management_System
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
cd Backend/Hotel_Management_System
python manage.py test