# Duplicate keys. YAML 1.2 says a mapping MUST NOT have duplicate keys, but loaders disagree
# about what to do: most keep the LAST occurrence silently, some keep the first, a few raise,
# and strict linters reject the document outright. A config file that quietly loses a setting
# this way is very hard to debug, which is why this fixture exists.
job:
  image: registry.example.invalid/ci/runner:1.4
  timeout: 10
  retries: 1
  timeout: 30
  image: registry.example.invalid/ci/runner:2.0

stages:
  - build
  - test

stages:
  - deploy

nested:
  a:
    x: 1
  a:
    y: 2

expected_last_wins:
  job_timeout: 30
  job_image: registry.example.invalid/ci/runner:2.0
  stages: deploy
  nested_a_has_x: false
