summaryrefslogtreecommitdiff
path: root/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/artifacts.yml
blob: 70761a09b582b0edb9d6f6582e3b8d3589d0e900 (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
47
48
49
50
51
52
53
# valid artifact:reports:browser_performance
browser_performance string path:
  artifacts:
    reports:
      browser_performance: foo

# valid artifact:reports:cyclonedx
cyclonedx string path:
  artifacts:
    reports:
      cyclonedx: foo

cyclonedx glob path:
  artifacts:
    reports:
      cyclonedx: "*.foo"

cylonedx list of string paths:
  artifacts:
    reports:
      cyclonedx:
        - foo
        - ./bar/baz

cylonedx mixed list of string paths and globs:
  artifacts:
    reports:
      cyclonedx:
        - ./foo
        - "bar/*.baz"

# valid artifacts:reports:coverage_report
coverage-report-cobertura:
  artifacts:
    reports:
      coverage_report:
        coverage_format: cobertura
        path: coverage/cobertura-coverage.xml

coverage-report-null:
  artifacts:
    reports:
      coverage_report: null

# valid artifacts:when
artifacts-when-on-failure:
  artifacts:
    when: on_failure

artifacts-no-when:
  artifacts:
    paths:
      - binaries/