File tree Expand file tree Collapse file tree 1 file changed +13
-17
lines changed
Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change 1- # Use the latest 2.1 version of CircleCI pipeline process engine.
2- # See: https://circleci.com/docs/2.0/configuration-reference
31version : 2.1
42
5- # Define a job to be invoked later in a workflow.
6- # See: https://circleci.com/docs/2.0/configuration-reference/#jobs
73jobs :
8- say-hello :
9- # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
10- # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
4+ build_test :
115 docker :
12- - image : cimg/base:stable
13- # Add steps to the job
14- # See: https://circleci.com/docs/2.0/configuration-reference/#steps
6+ - image : circleci/python:3.6.1
157 steps :
16- - checkout
8+ - checkout # checkout source code to working directory
179 - run :
18- name : " Say hello"
19- command : " echo Hello, World!"
10+ command : | # create whl and use pipenv to install dependencies
11+ python setup.py sdist bdist_wheel
12+ sudo pip install pipenv
13+ pipenv install dist/fastgrouper-0.1.0-py3-none-any.whl
14+ pipenv install pytest
15+ - run :
16+ command : | # Run test suite
17+ pipenv run pytest -s -vv
2018
21- # Invoke jobs via workflows
22- # See: https://circleci.com/docs/2.0/configuration-reference/#workflows
2319workflows :
24- say-hello-workflow :
20+ build_test :
2521 jobs :
26- - say-hello
22+ - build_test
You can’t perform that action at this time.
0 commit comments