mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
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:
parent
83958558d3
commit
48496b3854
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -9,7 +9,7 @@ deps =
|
|||
pyopenssl
|
||||
pytest-xdist
|
||||
pytest-cov
|
||||
GeoIP
|
||||
geoip: GeoIP
|
||||
|
||||
[testenv]
|
||||
usedevelop = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue