Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:

strategy:
matrix:
# We don't test on Windows currently as it appears mocket may not
# work there.
# TODO: add windows-latest also
platform: [ubuntu-latest, macos-latest]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ pylint.txt
*.swp
.tox
violations.pyflakes.txt
/venv
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ classifiers = [

[project.optional-dependencies]
test = [
"mocket>=3.12.8",
"pytest-httpserver>=1.0.10",
]

[tool.setuptools.package-data]
Expand Down
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ python =

[testenv:{py38,py39,py310,py311,py312}-test]
deps =
mocket
pytest-httpserver
pytest
commands = pytest tests

Expand All @@ -43,6 +43,8 @@ commands = flake8 geoip2
[testenv:py312-mypy]
deps =
mypy
pytest_httpserver
pytest
types-requests
voluptuous-stubs
commands = mypy geoip2 tests
Loading