Merge branch 'python-testing' into 'main'

ci: Move shellcheck/black/flake8 checks to a new CI job which can fail

See merge request GNOME/glib!3023
This commit is contained in:
Philip Withnall 2022-10-27 09:58:40 +00:00
commit 16169c8773

View File

@ -55,10 +55,21 @@ style-check-diff:
allow_failure: true
script:
- .gitlab-ci/run-style-check-diff.sh
- .gitlab-ci/run-check-todos.sh
sh-and-py-check:
extends: .only-default
image: $DEBIAN_IMAGE
stage: style-check
allow_failure: false
script:
- .gitlab-ci/run-shellcheck.sh
- .gitlab-ci/run-black.sh
- .gitlab-ci/run-flake8.sh
- .gitlab-ci/run-check-todos.sh
only:
changes:
- "**/*.py"
- "**/*.sh"
fedora-x86_64:
extends: