Skip to content

Commit 70fb56c

Browse files
anbeckhamclaude
andcommitted
fix(ci): Simplify CI to only test pure Python code
Tests mock the MCP and PyGObject dependencies, so we don't need to install the full system dependencies in CI. This avoids the girepository-2.0 version conflicts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a5cfdbb commit 70fb56c

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

.github/workflows/ci.yml

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

99
jobs:
1010
test:
11-
runs-on: ubuntu-22.04 # Use 22.04 for better PyGObject compatibility
11+
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
1414
python-version: ['3.10', '3.11', '3.12']
@@ -21,24 +21,10 @@ jobs:
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

24-
- name: Install system dependencies
25-
run: |
26-
sudo apt-get update
27-
sudo apt-get install -y \
28-
python3-gi \
29-
python3-pyatspi \
30-
gir1.2-atspi-2.0 \
31-
gir1.2-gtk-3.0 \
32-
at-spi2-core \
33-
libgirepository1.0-dev \
34-
libcairo2-dev \
35-
pkg-config \
36-
python3-dev
37-
38-
- name: Install Python dependencies
24+
- name: Install test dependencies
3925
run: |
4026
python -m pip install --upgrade pip
41-
pip install pytest pytest-asyncio mcp pycairo PyGObject
27+
pip install pytest pytest-asyncio
4228
4329
- name: Run tests
4430
run: |

0 commit comments

Comments
 (0)