File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,19 @@ jobs:
330
330
- /tmp/docker/cache/Dockerfile.base-pruned
331
331
key : dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}
332
332
333
+ pypi_precheck :
334
+ machine : *machine_kwds
335
+ working_directory : /home/circleci/nipype
336
+ steps :
337
+ - checkout :
338
+ path : /home/circleci/nipype
339
+ - run :
340
+ name : Check pypi preconditions
341
+ command : |
342
+ pip install twine future wheel readme_renderer
343
+ python setup.py check -r -s
344
+ python setup.py sdist bdist_wheel
345
+
333
346
deploy_pypi :
334
347
machine : *machine_kwds
335
348
working_directory : /home/circleci/nipype
@@ -339,7 +352,8 @@ jobs:
339
352
- run :
340
353
name : Deploy to PyPI
341
354
command : |
342
- pip install twine future wheel
355
+ pip install twine future wheel readme_renderer
356
+ python setup.py check -r -s
343
357
python setup.py sdist bdist_wheel
344
358
twine upload dist/*
345
359
@@ -422,3 +436,7 @@ workflows:
422
436
only : /rel\/.*/
423
437
tags :
424
438
only : /.*/
439
+ - pypi_precheck :
440
+ filters :
441
+ branches :
442
+ only : /rel\/.*/
You can’t perform that action at this time.
0 commit comments