Skip to content

Commit 03836f3

Browse files
committed
rm precommit checks from circleci config
1 parent b333be8 commit 03836f3

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

.circleci/config.yml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,9 @@
1-
version: 2.1
1+
version: 2.1
22

33
orbs:
44
ghpr: narrativescience/[email protected]
55

6-
commands:
7-
install-deps:
8-
description: Install dependencies and initialize pre-commit hooks
9-
steps:
10-
- run:
11-
command: |
12-
pip install pre-commit tox flit
13-
pre-commit install
14-
name: Install dependencies
15-
166
jobs:
17-
test:
18-
docker:
19-
- image: circleci/python:3.7
20-
steps:
21-
- ghpr/build-prospective-branch
22-
- install-deps
23-
- run:
24-
name: Run commit hooks
25-
command: |
26-
pre-commit run \
27-
--source "origin/${GITHUB_PR_BASE_BRANCH}" \
28-
--origin "origin/${CIRCLE_BRANCH}" \
29-
--show-diff-on-failure
30-
- run: tox
31-
- run: flit build
32-
- ghpr/post-pr-comment:
33-
comment: Tests failed!
34-
when: on_fail
357
publish:
368
docker:
379
- image: circleci/python:3.7
@@ -42,13 +14,6 @@ jobs:
4214
- run: flit publish
4315

4416
workflows:
45-
pull_request:
46-
jobs:
47-
- test:
48-
filters:
49-
branches:
50-
ignore:
51-
- master
5217
publish:
5318
jobs:
5419
- publish:

0 commit comments

Comments
 (0)