From 3c2486c10222a48669cba5842d04e12ce8453850 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 1 Aug 2023 15:29:17 -0700 Subject: [PATCH] Create config.yml --- .circleci/config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..bedb7336c --- /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