From 85a4d3a4655293c46482a64ca938c5ae0d56c4ad Mon Sep 17 00:00:00 2001 From: CodingForEntrepreneurs Date: Thu, 6 Jun 2024 15:47:54 -0600 Subject: [PATCH] Test Django Basic Workflow --- .github/workflows/2-test-django-basic.yaml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/2-test-django-basic.yaml diff --git a/.github/workflows/2-test-django-basic.yaml b/.github/workflows/2-test-django-basic.yaml new file mode 100644 index 0000000..08a068c --- /dev/null +++ b/.github/workflows/2-test-django-basic.yaml @@ -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 \ No newline at end of file