Create config.yml

This commit is contained in:
Ishaan Jaff 2023-08-01 15:29:17 -07:00 committed by GitHub
parent c99688df19
commit ecc521ade6

24
.circleci/config.yml Normal file
View file

@ -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