fix(scanner): use package-qualified import for reverse_geocode #253
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest # macOS is also free for public repos; worth revisiting if real integration tests (photoscript/osxphotos) are ever added | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - name: Run tests | |
| run: uv run python -m pytest tests/ -q | |
| - name: Type-check | |
| run: uv run mypy db/ poller/ flickr/ reviewer/ bp | |
| - name: Lint (ruff) | |
| run: uv run --with ruff ruff check . | |
| - name: Format check (ruff) | |
| run: uv run --with ruff ruff format --check . |