Skip to content

Commit

Permalink
(fix): Removing server setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LopesLs committed Dec 22, 2023
1 parent 868bc5c commit 9467810
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
name: Django CI # Title of the GitHub Action
name: Django CI

on: [push, pull_request] # Events that trigger the workflow in all branches
on: [push, pull_request]

jobs: # The job contains process, and this process contains steps
build: # A process called build
runs-on: ubuntu-latest # The type of machine to run the job on
build:
runs-on: ubuntu-latest

steps: # Steps that the job will execute
steps:
- uses: actions/checkout@v3 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it

- name: Set up Python 3.12.0 # Name of the step
uses: actions/setup-python@v3 # Install Python 3.12.0
- name: Set up Python 3.12.0
uses: actions/setup-python@v3
with:
python-version: 3.12.0 # Version of Python to install
python-version: 3.12.0

- name: Install Dependencies # Name of the step
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test
- name: Run Server
run: |
python manage.py runserver

0 comments on commit 9467810

Please sign in to comment.