Skip to content
Snippets Groups Projects
Unverified Commit 1bd3831e authored by Henri Menke's avatar Henri Menke
Browse files

ci: create patch when pre-commit hooks fail

parent 515b9ac2
No related branches found
No related tags found
1 merge request!132Add compatibility for Python 3.6
......@@ -73,7 +73,16 @@ style:
script:
- *prepare_style
- pre-commit run --all-files
after_script:
- |
git diff --output=style.patch --exit-code || {
cat style.patch
false
}
artifacts:
when: on_failure
paths:
- style.patch
test-bullseye:
stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment