Skip to content

Commit

Permalink
Test Django Basic Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
codingforentrepreneurs committed Jun 6, 2024
1 parent 916a9cc commit 85a4d3a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/2-test-django-basic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 2 - Test Django Basic

on:
workflow_dispatch:
push:
branch:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Requirements
run: |
python -m pip install pip --upgrade
python -m pip install -r requirements.txt
- name: Django Tests
working-directory: ./src
run: |
python manage.py test

0 comments on commit 85a4d3a

Please sign in to comment.