Skip to content

Commit

Permalink
Update syntax and remove extra codes (#31)
Browse files Browse the repository at this point in the history
Add

Update CI.yml

Update middlewares.py

Update middlewares.py

Update CI.yml

Revert "Update CI.yml"

This reverts commit dc01841.

Add

Add

Update markers

Yep

Update settings.py

Add

Delete pytest.ini

Update CI.yml

Update CI.yml
  • Loading branch information
baseplate-admin authored Dec 10, 2024
1 parent 83ebb0c commit 485f57d
Show file tree
Hide file tree
Showing 6 changed files with 360 additions and 178 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.11', '3.12', '3.13']
django-version: ['3.2', '4.0', '4.1', '4.2', '5.0', '5.1']

exclude:
# Python 3.9
- python-version: '3.9'
django-version: '5.0'
- python-version: '3.9'
django-version: '5.1'

# Python 3.13
- python-version: '3.13'
django-version: '3.2'
Expand All @@ -44,8 +38,12 @@ jobs:
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install --sync --no-interaction --no-root
poetry install --sync --no-interaction --no-root
poetry run pip install "django==${{ matrix.django-version }}.*"
- name: Install Projects
run: poetry run pip install -e .

- name: Run tests
run: poetry run pytest .

Expand Down
44 changes: 0 additions & 44 deletions ninja_put_patch_file_upload_middleware/middlewares.py

This file was deleted.

Loading

0 comments on commit 485f57d

Please sign in to comment.