Skip to content

ci: Update tox configuration to run Django5 #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
isolated_build = true
# The *-web environments test the latest versions of Django and Flask with the full test suite. For
# older version of the web frameworks, just run the tests that are specific to them.
envlist = py3{8,9,10,11,12}-{web,django3,flask2,sqlalchemy1},lint
envlist = py3{10,11,12}-{django5}, py3{8,9,10,11,12}-{web,django3,django4,flask2,sqlalchemy1},lint

[web-deps]
deps=
Expand All @@ -22,12 +22,16 @@ deps=
py3{9,10,11,12}: numpy >=2
flask2: Flask >= 2.0, <3.0
django3: Django >=3.2, <4.0
django4: Django >=4.0, <5.0
django5: Django >=5.0, <6.0
sqlalchemy1: sqlalchemy >=1.4.11, <2.0

commands =
poetry install -v
web: poetry run appmap-python {posargs:pytest -n logical}
django3: poetry run appmap-python pytest -n logical _appmap/test/test_django.py
django4: poetry run appmap-python pytest -n logical _appmap/test/test_django.py
django5: poetry run appmap-python pytest -n logical _appmap/test/test_django.py
flask2: poetry run appmap-python pytest -n logical _appmap/test/test_flask.py
sqlalchemy1: poetry run appmap-python pytest -n logical _appmap/test/test_sqlalchemy.py

Expand Down
Loading