Skip to content
Snippets Groups Projects
Commit e722f7a4 authored by Florian Ziemen's avatar Florian Ziemen
Browse files

add pre-commit to ci

parent 961b7e6c
Branches basic_dataset
No related tags found
No related merge requests found
......@@ -11,3 +11,17 @@ sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml
run_pre_commit_hooks:
tags:
- sphinx
stage: test
variables:
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
cache:
paths:
- ${PRE_COMMIT_HOME}
script:
- python3 -m pip install pre-commit
- pre-commit run --all-files
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