type: Group
enable_if:
  condition: or
  conditions:
    - condition: runtime
      env_var: TARGET_OSVERSION_COIN
      # QTBUG-129469 as long as we have flaky tests, we need to disable all gstreamer tests on CI to avoid blocking
      # dependency update rounds
      contains_value: disabled_ubuntu
    # Disabling on rhel/opensuse for now due to missing h264 codecs on CI
    # - condition: runtime
    #   env_var: TARGET_OSVERSION_COIN
    #   contains_value: rhel
    # - condition: runtime
    #   env_var: TARGET_OSVERSION_COIN
    #   contains_value: opensuse

instructions:
  - type: EnvironmentVariable
    variableName: QT_MEDIA_BACKEND
    variableValue: gstreamer

  # QTBUG-127927
  # - type: EnvironmentVariable
  #   variableName: G_DEBUG
  #   variableValue: fatal_criticals
  - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
