Skip to content

Commit

Permalink
Change pre-commit concurrency to CI only
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoinePrv committed Nov 23, 2020
1 parent 8d926d3 commit 6f0b470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ commands:
- precommit-v1.1-{{ arch }}-
- run:
environment:
# Remove parallelism for clang-tidy that goes out of memory otherwise
PRE_COMMIT_NO_CONCURRENCY: "True"
PRE_COMMIT_HOME: &pre_commit_cache_dir /cache/precommit
name: "Run pre-commit checks"
no_output_timeout: 30m
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ repos:
args: [--style=file, -i]
- id: clang-tidy
args: [--fix, --fix-errors]
require_serial: true # Set parallelism to one otherwise it gwt out of memory on CircleCI.
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
Expand Down

0 comments on commit 6f0b470

Please sign in to comment.