aman/.github/workflows/ci.yml
Thales Maciel 721248ca26
Decouple non-UI CLI startup from config_ui
Stop aman.py from importing the GTK settings module at module load so version, init, bench, diagnostics, and top-level help can start without pulling in the UI stack.\n\nPromote PyGObject and python-xlib into main project dependencies, switch the documented source install surface to plain uv/pip commands, and teach the portable, deb, and Arch packaging flows to install filtered runtime requirements before the Aman wheel so they still rely on distro-provided GTK/X11 packages.\n\nAdd regression coverage for importing aman with config_ui blocked and for the portable bundle's new requirements payload, then rerun the focused CLI/diagnostics/portable tests plus py_compile.
2026-03-14 13:38:15 -03:00

33 lines
789 B
YAML

name: ci
on:
push:
pull_request:
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install uv build
uv sync
- name: Prepare release candidate artifacts
run: make release-prep
- name: Upload packaging artifacts
uses: actions/upload-artifact@v4
with:
name: aman-artifacts
path: |
dist/*.whl
dist/*.tar.gz
dist/*.sha256
dist/SHA256SUMS
dist/*.deb
dist/arch/PKGBUILD
dist/arch/*.tar.gz