diff options
Diffstat (limited to 'spec/frontend/editor/schema/ci/yaml_tests/positive_tests')
-rw-r--r-- | spec/frontend/editor/schema/ci/yaml_tests/positive_tests/artifacts.yml | 20 | ||||
-rw-r--r-- | spec/frontend/editor/schema/ci/yaml_tests/positive_tests/rules.yml | 4 |
2 files changed, 23 insertions, 1 deletions
diff --git a/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/artifacts.yml b/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/artifacts.yml index a5c9153ee13..70761a09b58 100644 --- a/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/artifacts.yml +++ b/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/artifacts.yml @@ -1,5 +1,10 @@ -# valid artifact:reports:cyclonedx +# valid artifact:reports:browser_performance +browser_performance string path: + artifacts: + reports: + browser_performance: foo +# valid artifact:reports:cyclonedx cyclonedx string path: artifacts: reports: @@ -24,6 +29,19 @@ cylonedx mixed list of string paths and globs: - ./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: diff --git a/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/rules.yml b/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/rules.yml index ef604f707b5..5dfaf323b22 100644 --- a/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/rules.yml +++ b/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/rules.yml @@ -28,3 +28,7 @@ workflow: variables: IS_A_FEATURE: 'true' when: always + +# valid rules:null +rules-null: + rules: null |