mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2026-01-05 21:20:12 -06:00
Add minimal test without extra deps (#230)
This commit is contained in:
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@@ -21,6 +21,7 @@ jobs:
|
||||
- {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312}
|
||||
- {name: Windows, python: '3.12', os: windows-latest, tox: py312}
|
||||
- {name: Mac, python: '3.12', os: macos-latest, tox: py312}
|
||||
- {name: Minimal, python: '3.12', os: ubuntu-latest, tox: minimal}
|
||||
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
|
||||
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
|
||||
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
|
||||
|
||||
7
tox.ini
7
tox.ini
@@ -3,6 +3,7 @@ envlist =
|
||||
py27
|
||||
py3{12,11,10,9,8,7,6}
|
||||
stylecheck
|
||||
minimal
|
||||
skip_missing_interpreters = True
|
||||
|
||||
[testenv]
|
||||
@@ -13,6 +14,12 @@ deps =
|
||||
commands =
|
||||
pytest
|
||||
|
||||
[testenv:minimal]
|
||||
deps =
|
||||
.
|
||||
commands =
|
||||
python -c "from flask_debugtoolbar import DebugToolbarExtension"
|
||||
|
||||
[testenv:stylecheck]
|
||||
deps =
|
||||
pycodestyle
|
||||
|
||||
Reference in New Issue
Block a user