fix: run cargo test under xvfb-run; clean up unused imports and mut warning
Some checks failed
Test / test (push) Failing after 6m22s

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 13:04:56 +02:00
parent 2c2e693193
commit 1f927bdbb2
3 changed files with 3 additions and 4 deletions

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: |