Skip to content

Commit

Permalink
adde django 3.2 job
Browse files Browse the repository at this point in the history
  • Loading branch information
uberfresh1914 committed Jan 25, 2024
1 parent a1fa307 commit 30e7fef
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,42 @@ jobs:
run: |
ruff .
build_django_32:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
django-version: ["3.2"]
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install specific Django version
run: pip install Django==${{ matrix.django-version }}

- name: Run tests
run: |
python manage.py test
- name: Build distribution package
run: python setup.py sdist

- name: Archive distribution package
uses: actions/upload-artifact@v2
with:
name: dist
path: dist/*.tar.gz

build_django_42:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 30e7fef

Please sign in to comment.