From 55cadbb0b9a2325585ce71f8265968f54c4b25b4 Mon Sep 17 00:00:00 2001 From: anulusdev <165803131+anulusdev@users.noreply.github.com> Date: Mon, 29 Sep 2025 15:11:28 +0100 Subject: [PATCH] Create CI.yml --- .github/workflows/CI.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..7645d46 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,30 @@ +name: Django CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [5.0] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run Tests + run: | + python manage.py test