diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..bedb7336c4 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,24 @@ +version: 2.1 +jobs: + build_test: + docker: + - image: cimg/python:3.11.0 + steps: + - checkout # checkout source code to working directory + - run: + command: | # create whl and use pipenv to install dependencies + python3 setup.py sdist bdist_wheel + sudo add-apt-repository universe -y + sudo apt-get update + sudo apt install -y python3-pip + sudo pip install pipenv + pipenv install dist/convsn-0.0.3-py3-none-any.whl + pipenv install pytest + - run: + command: | # Run test suite + pipenv run pytest + +workflows: + build_test_publish: + jobs: + - build_test