Skip to content
Snippets Groups Projects
Commit 1d97d996 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[ci] Run pre-commit on ci

parent 69b02709
No related branches found
No related tags found
No related merge requests found
Pipeline #52918 passed
......@@ -2,6 +2,7 @@
variables:
PYTHONUNBUFFERED: "1"
CONDA_ROOT: "${CI_PROJECT_DIR}/miniconda"
PRE_COMMIT_HOME: "${CI_PROJECT_DIR}/.cache/pre-commit"
# Definition of our build pipeline order
......@@ -19,6 +20,7 @@ stages:
cache:
paths:
- miniconda.sh
- ${PRE_COMMIT_HOME}
build_linux:
......@@ -35,6 +37,8 @@ build_linux:
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
- pip install pre-commit
- pre-commit run --all-files
- python3 ./bob/devtools/build.py -vv --twine-check
artifacts:
paths:
......@@ -57,6 +61,8 @@ build_macos_intel:
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
- pip install pre-commit
- pre-commit run --all-files
- python3 ./bob/devtools/build.py -vv
artifacts:
paths:
......
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