aboutsummaryrefslogtreecommitdiffstats
path: root/coin/module_config.yaml
blob: 88a104df5649ee367de3e06cb1f504eb9736e91d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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