Skip to content

Commit

Permalink
ci: show window when not in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon committed Sep 27, 2024
1 parent 3d31a8f commit 31ed9d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/at-runtime/emulator/emulator_test.vv
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ const vab_test_avd = 'vab_emulator_tests'

const env_is_managable = env.managable()

const github_job = os.getenv('GIHUB_JOB')

fn test_run_on_emulator() {
ensure_env()

mut emu := emulator.make()!
emu.start(
verbosity: 3
await_boot: true
// visible: true // uncomment to show window on desktop
visible: github_job == '' // show window on desktop
avd: vab_test_avd
// acceleration: 'off'
)!
Expand Down

0 comments on commit 31ed9d0

Please sign in to comment.