version: 2 accept_configuration: condition: property property: features not_contains_value: Disable instructions: Test: - type: Group instructions: - !include "{{qt/qtbase}}/run_license_check.yaml" enable_if: condition: property property: features contains_value: LicenseCheckV2 - type: Group instructions: - type: ExecuteCommand command: "{{.SourceDir}}\\gradlew.bat test" ignoreExitCode: false maxTimeInSeconds: 300 maxTimeBetweenOutput: 60 userMessageOnFailure: "Failed to run tests" enable_if: condition: property property: host.os contains_value: Windows - type: Group instructions: - type: ExecuteCommand command: "{{.SourceDir}}/gradlew test" ignoreExitCode: false maxTimeInSeconds: 300 maxTimeBetweenOutput: 60 userMessageOnFailure: "Failed to run tests" enable_if: condition: and conditions: - condition: property property: features not_contains_value: LicenseCheckV2 - condition: property property: host.os not_contains_value: Windows