Skip to content

Commit fd8a840

Browse files
author
morphilab
committed
fix(ci): add PySide6 headless support — QT_QPA_PLATFORM=offscreen + libegl1-mesa
1 parent d170917 commit fd8a840

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
--health-retries 5
2626
2727
env:
28+
QT_QPA_PLATFORM: offscreen
2829
DATABASE_URL: postgresql://morphix:morphix@localhost:5432/morphix
2930
ENCRYPTION_KEY: "_7rhTA_bgyqHnQbjDp-fgp53-ql6X7uyM9ErKUpxREc="
3031
PASSWORD_HASH: "$2b$12$dYP39H27IhRGpJDs2nSKTGp5EjY/.JYJY4R9DS/haTfx99OgcQD09"
@@ -35,6 +36,9 @@ jobs:
3536
steps:
3637
- uses: actions/checkout@v5
3738

39+
- name: Install system deps
40+
run: sudo apt-get update && sudo apt-get install -y libegl1-mesa
41+
3842
- name: Install Poetry
3943
run: pipx install poetry
4044

@@ -51,7 +55,7 @@ jobs:
5155
run: poetry run pre-commit run --all-files
5256

5357
- name: Run tests with coverage
54-
run: poetry run pytest --ignore=tests/test_desktop_events.py --cov=core --cov=llm --cov=agents --cov=tools --cov=orchestration --cov-report=xml
58+
run: poetry run pytest --cov=core --cov=llm --cov=agents --cov=tools --cov=orchestration --cov-report=xml
5559

5660
- name: Run mypy type check
5761
run: poetry run mypy core/ llm/ agents/ tools/ orchestration/ desktop/

0 commit comments

Comments
 (0)