From 57e8f77b69789d639586ca129d9ee49e2b28023c Mon Sep 17 00:00:00 2001 From: DrCBeatz Date: Thu, 7 Dec 2023 22:07:54 -0500 Subject: [PATCH] add django_ci.yml --- .github/workflows/django_ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/django_ci.yml diff --git a/.github/workflows/django_ci.yml b/.github/workflows/django_ci.yml new file mode 100644 index 0000000..e83aa97 --- /dev/null +++ b/.github/workflows/django_ci.yml @@ -0,0 +1,28 @@ +name: Django CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + + - name: Install dependencies + run: | + pip install --upgrade pip + pip install -r requirements.txt + + - name: Run Tests + run: | + pytest