fix: run cargo test under xvfb-run; clean up unused imports and mut warning

ahfail_tests.rs calls on_activation which initialises GTK — needs a virtual
display in CI just like the Meson test step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Asger Geel Weirsøe
2026-05-06 19:43:31 +02:00
co-authored by Claude Sonnet 4.6
parent 9d904a5469
commit d4a6987b72
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Run Rust tests
run: cargo test
run: xvfb-run cargo test
- name: Meson build
run: |