diff --git a/.circleci/config.yml b/.circleci/config.yml index 6554e1f..2cb8a33 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,26 +1,20 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 -# Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/2.0/configuration-reference/#jobs jobs: - say-hello: - # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + build_test: docker: - - image: cimg/base:stable - # Add steps to the job - # See: https://circleci.com/docs/2.0/configuration-reference/#steps + - image: circleci/python:3.6.4 steps: - - checkout + - checkout # checkout source code to working directory - run: - name: "Say hello" - command: "echo Hello, World!" - -# Invoke jobs via workflows -# See: https://circleci.com/docs/2.0/configuration-reference/#workflows + command: | # Install package + sudo pip install -U pipenv + pipenv install . + - run: + command: | # Run tests + pipenv install pytest + pipenv run pytest python/fastgrouper/test/ -s -vv workflows: - say-hello-workflow: + build_test: jobs: - - say-hello + - build_test diff --git a/.gitignore b/.gitignore index e01530a..d3d877c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ .cache grouper.egg-info dist -fastgrouper.egg-info \ No newline at end of file +fastgrouper.egg-info +build +Pipfile +Pipfile.lock \ No newline at end of file diff --git a/python/fastgrouper/test/__init__.py b/python/fastgrouper/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index 75b13c2..62b316d 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setuptools.setup( name="fastgrouper", - version="0.1.0", + version="0.1.1", author="Shreyas Joshi", author_email="sjoshistrats@gmail.com", description="A package for applying efficient groupby operations.",