forked from phoenix/litellm-mirror
Create config.yml
This commit is contained in:
parent
6aad269d10
commit
3c2486c102
1 changed files with 24 additions and 0 deletions
24
.circleci/config.yml
Normal file
24
.circleci/config.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue