Use ICED_TEST_BACKEND env var in iced_test

This commit is contained in:
Héctor Ramón Jiménez 2025-03-28 20:55:16 +01:00
parent 788d9989ba
commit f74ae73784
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: --deny warnings
ICED_BACKEND: tiny-skia
ICED_TEST_BACKEND: tiny-skia
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

View file

@ -188,7 +188,7 @@ where
}
let mut renderer = {
let backend = env::var("ICED_BACKEND").ok();
let backend = env::var("ICED_TEST_BACKEND").ok();
iced_runtime::futures::futures::executor::block_on(Renderer::new(
default_font,