Use a geoip tox factor

GeoIP requires libGeoIP which tox deps cannot install.
Likewise the GeoLiteCountry database which is also required by
TestLocationInfo().

The last GeoIP release was in 2014, and libGeoIP has been EOL since 2022,
but it is still available in Debian/Ubuntu.
This commit is contained in:
Chris Mayo 2024-08-27 19:34:28 +01:00
parent 83958558d3
commit 48496b3854
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ jobs:
- name: Run tests
run: |
python -m hatchling build -t sdist --hooks-only
python -m tox -e ${{ matrix.toxenv }}
python -m tox -e ${{ matrix.toxenv }}-geoip
- name: Report to coveralls
uses: coverallsapp/github-action@f350da2c033043742f89e8c0b7b5145a1616da6d # v2.1.2

View file

@ -9,7 +9,7 @@ deps =
pyopenssl
pytest-xdist
pytest-cov
GeoIP
geoip: GeoIP
[testenv]
usedevelop = true