ci: Make indentation close to original again

This commit is contained in:
Dorota Czaplejewicz
2021-12-17 11:17:03 +00:00
parent 7b8cecbf90
commit c54b6e2d3b
2 changed files with 60 additions and 59 deletions

View File

@ -1,15 +1,15 @@
image: debian:bullseye
stages:
- build
- test
- build
- test
before_script:
- apt-get -y update
- apt-get -y install wget ca-certificates gnupg
- echo "deb [trusted=yes] http://ci.puri.sm/ bullseyeci main" > /etc/apt/sources.list.d/ci.list
- wget -O- https://ci.puri.sm/ci-repo.key | apt-key add -
- apt-get -y update
- apt-get -y update
- apt-get -y install wget ca-certificates gnupg
- echo "deb [trusted=yes] http://ci.puri.sm/ bullseyeci main" > /etc/apt/sources.list.d/ci.list
- wget -O- https://ci.puri.sm/ci-repo.key | apt-key add -
- apt-get -y update
build_docs:
stage: build

View File

@ -25,6 +25,7 @@ def dump(yaml, yml):
with open(path) as f:
contents = f.read()
yaml = YAML()
yaml.indent(offset=2, sequence=4)
yml = yaml.load(contents)
formatted = dump(yaml, yml)
well_formatted = formatted == contents