Skip to content

Commit

Permalink
Update package
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Sep 17, 2024
1 parent 6222e16 commit a619680
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Update repositories
run: sudo apt-get update
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
5 changes: 4 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include LICENSE
include MANIFEST.in
include .editorconfig
include *.yaml
include pyproject.toml
include *.md
Expand All @@ -10,5 +11,7 @@ include tox.ini
include docs/*.rst docs/*.txt docs/*.py docs/Makefile
graft src
graft tests
global-exclude *.pyc
graft example
prune docs/_build
exclude example/db.sqlite3
global-exclude *.py[cod]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ classifiers = [
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
Expand Down
14 changes: 6 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ args_are_paths = false
envlist =
py38-{4.2},
py39-{4.2},
py310-{4.2,5.0,main},
py311-{4.2,5.0,main},
py312-{4.2,5.0,main},
py310-{4.2,5.0,5.1,main},
py311-{4.2,5.0,5.1,main},
py312-{4.2,5.0,5.1,main},
docs,
lint,
ruff,

[testenv]
basepython =
Expand All @@ -24,18 +24,16 @@ setenv =
commands =
python manage.py test {posargs}
deps =
4.0: Django==4.0.*
4.1: Django==4.1.*
4.2: Django==4.2.*
5.0: Django==5.0.*
5.1: Django==5.1.*
main: https://github.com/django/django/archive/main.tar.gz
-r{toxinidir}/requirements-test.txt

[testenv:ruff]
basepython = python3.11
allowlist_externals = ruff
deps = ruff
commands = ruff .
commands = ruff check .

[testenv:docs]
basepython = python3.11
Expand Down

0 comments on commit a619680

Please sign in to comment.