- Close printer handles (contextlib.closing) in CLI and TUI - Whitelist 4chan image extensions + numeric tim (path traversal) - Cap downloads at 16 MB - clean: unlink instead of rmtree, cover legacy dir, add -y flag - TUI: escape captured output as rich Text; propagate failure exit code - Pass --ip/--port through to connect_receipt.sh via env - Fix double-space textln calls - CI matrix 3.10/3.12/3.13 - pytest pythonpath so tests run without editable install - Print retry narrowed to OSError/escpos errors Co-Authored-By: Claude Code <[email protected]>
21 lines
376 B
YAML
21 lines
376 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python }}
|
|
strategy:
|
|
matrix:
|
|
python: ["3.10", "3.12", "3.13"]
|
|
- run: pip install -e '.[dev]'
|
|
- run: ruff check .
|
|
- run: pytest
|