Skip to content

Commit 5ab6fd6

Browse files
joskeclaude
andauthored
Fix UI test CI and gate release on UI tests (#25)
- Add missing CI deps: dbus-x11, gir1.2-gtk-3.0, xdotool - Add workflow_call trigger so release pipeline can invoke UI tests - Remove duplicate Rust test step (already run by ci job) - Release pipeline: checks → ci → ui-tests → publish Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8399a04 commit 5ab6fd6

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ jobs:
4848
ci:
4949
needs: checks
5050
uses: ./.github/workflows/ci.yml
51-
publish:
51+
ui-tests:
5252
needs: ci
53+
uses: ./.github/workflows/ui-tests.yml
54+
publish:
55+
needs: ui-tests
5356
runs-on: ubuntu-latest
5457
steps:
5558
- uses: actions/checkout@v6

.github/workflows/ui-tests.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: UI Integration Tests
22

33
on:
44
workflow_dispatch:
5+
workflow_call:
56

67
jobs:
78
ui-tests:
@@ -19,7 +20,10 @@ jobs:
1920
at-spi2-core \
2021
python3-pip \
2122
python3-gi \
22-
gir1.2-atspi-2.0
23+
gir1.2-atspi-2.0 \
24+
gir1.2-gtk-3.0 \
25+
dbus-x11 \
26+
xdotool
2327
2428
- name: Install Rust toolchain
2529
uses: actions-rust-lang/setup-rust-toolchain@v1
@@ -35,12 +39,6 @@ jobs:
3539
python3 -m venv --system-site-packages tests/ui_integration/.venv
3640
tests/ui_integration/.venv/bin/pip install -r tests/ui_integration/requirements.txt
3741
38-
- name: Run Rust tests under Xvfb
39-
env:
40-
GDK_BACKEND: x11
41-
GTK_A11Y: none
42-
run: xvfb-run -a cargo test --all-targets --locked
43-
4442
- name: Run dogtail integration tests
4543
env:
4644
GDK_BACKEND: x11

0 commit comments

Comments
 (0)