Skip to content

Commit e790693

Browse files
anbeckhamclaude
andcommitted
fix(ci): Use Ubuntu 22.04 for PyGObject compatibility
- Switch to ubuntu-22.04 runner for better GObject Introspection support - Install system python3-gi package - Install Python deps separately to avoid build issues Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 38920a3 commit e790693

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04 # Use 22.04 for better PyGObject compatibility
1212
strategy:
1313
matrix:
1414
python-version: ['3.10', '3.11', '3.12']
@@ -25,24 +25,24 @@ jobs:
2525
run: |
2626
sudo apt-get update
2727
sudo apt-get install -y \
28+
python3-gi \
2829
python3-pyatspi \
2930
gir1.2-atspi-2.0 \
31+
gir1.2-gtk-3.0 \
3032
at-spi2-core \
3133
libgirepository1.0-dev \
3234
libcairo2-dev \
3335
pkg-config \
34-
python3-dev \
35-
gobject-introspection \
36-
libgtk-3-dev
36+
python3-dev
3737
3838
- name: Install Python dependencies
3939
run: |
4040
python -m pip install --upgrade pip
41-
pip install -e ".[dev]"
41+
pip install pytest pytest-asyncio mcp pycairo PyGObject
4242
4343
- name: Run tests
4444
run: |
45-
pytest tests/ -v
45+
PYTHONPATH=src pytest tests/ -v
4646
4747
lint:
4848
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)