Skip to content
Draft
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
34 changes: 22 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .
- name: Run1
- name: Smoke test
run: |
python -c "from ipspot import *"
python -m ipspot --version
python -m ipspot --info
ipspot --version
- name: Run2
run: |
ipspot --info
- name: Run3
run: |
ipspot
- name: Run4
run: |
ipspot --no-geo --max-retries=5 --retry-delay=3
- name: Run5
run: |
ipspot --timeout=15
- name: Install dev-requirements
run: |
pip install --upgrade --upgrade-strategy=only-if-needed -r requirements-dev.txt
Expand All @@ -80,6 +72,24 @@ jobs:
run: |
python otherfiles/version_check.py
if: matrix.python-version == env.TEST_PYTHON_VERSION
- name: Build package
run: |
python -m build
- name: Check package metadata
run: |
twine check dist/*
- name: Wheel smoke test
shell: bash
run: |
pip uninstall -y ipspot
pip install dist/*.whl
mkdir wheel_test
cd wheel_test
python -c "from ipspot import *"
python -m ipspot --version
python -m ipspot --info
ipspot --version
ipspot --info
- name: Other tests
run: |
python -m vulture ipspot/ setup.py --min-confidence 65 --exclude=__init__.py --sort-by-size
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- CLI messages updated
- CLI modified
- Dependencies structure modified
- Test system modified
## [0.8] - 2026-02-05
### Added
- Support [wtfismyip.com](https://wtfismyip.com/json) IPv6 API
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ bandit>=1.5.1
pydocstyle>=6.3.0
pytest>=4.3.1
pytest-cov>=2.6.1
build>=1.1.1
twine>=4.0.2
Loading