File tree Expand file tree Collapse file tree 1 file changed +1
-36
lines changed
Expand file tree Collapse file tree 1 file changed +1
-36
lines changed Original file line number Diff line number Diff line change 1- version : 2.1
1+ version : 2.1
22
33orbs :
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-
166jobs :
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
4214 - run : flit publish
4315
4416workflows :
45- pull_request :
46- jobs :
47- - test :
48- filters :
49- branches :
50- ignore :
51- - master
5217 publish :
5318 jobs :
5419 - publish :
You can’t perform that action at this time.
0 commit comments