Skip to content

Commit 498d988

Browse files
committed
ci: test Flask 3
Add testing for Flask 3.
1 parent 0266b50 commit 498d988

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
isolated_build = true
33
# The *-web environments test the latest versions of Django and Flask with the full test suite. For
44
# older version of the web frameworks, just run the tests that are specific to them.
5-
envlist = py3{8,9,10,11,12}-web, py3{8,9,10,11,12}-django3
5+
envlist = py3{8,9,10,11,12}-{web,django3,flask2}
66

77
[testenv]
88
allowlist_externals =
@@ -13,7 +13,8 @@ deps=
1313
poetry
1414
pytest-django <4.8
1515
web: Django >=4.0, <5.0
16-
web: Flask >= 2, <3
16+
web: Flask >=3.0
17+
flask2: Flask >= 2.0, <3.0
1718
django3: Django >=3.2, <4.0
1819

1920

@@ -24,6 +25,7 @@ commands =
2425
py310-web: bash -c "poetry run pylint -j 0 appmap _appmap || pylint-exit $?"
2526
web: poetry run {posargs:pytest}
2627
django3: poetry run pytest _appmap/test/test_django.py
28+
flask2: poetry run pytest _appmap/test/test_flask.py
2729

2830
[testenv:vendoring]
2931
skip_install = True

0 commit comments

Comments
 (0)